]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDMA/nes: Fix tmp_addr compilation warning
authorChien Tung <chien.tin.tung@intel.com>
Fri, 6 Mar 2009 23:12:11 +0000 (15:12 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 6 Mar 2009 23:12:11 +0000 (15:12 -0800)
commit7b14ab0b438f20c7d6599985b036bb2864fd2524
tree97355681c6c8d1b8cd1adfb2abad6a681fc1f786
parentb9c367e7e694502085f21d9d2686645798080aa3
RDMA/nes: Fix tmp_addr compilation warning

In find_node(), tmp_addr causes an "unused variable" warning when
INFINIBAND_NES_DEBUG is not defined.  It's only used in a nes_debug()
and the print does not make sense.  So take out the whole thing.

Reported-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c