Revert "RDMA/nes: Fix compilation error when nes_debug is enabled"
authorRoland Dreier <roland@purestorage.com>
Tue, 30 Jul 2013 22:48:35 +0000 (15:48 -0700)
committerRoland Dreier <roland@purestorage.com>
Tue, 30 Jul 2013 22:48:35 +0000 (15:48 -0700)
commit3c93f039d29326954b2c503a71e1eab9ae49063b
tree67c85338cd5e560c0523d7378b512e349423a416
parent604296303f5f2698e4682c8aefb413554bc4b12a
Revert "RDMA/nes: Fix compilation error when nes_debug is enabled"

This reverts commit bca1935ccdec, which removes variables
nes_tcp_state_str and nes_iwarp_state_str, assuming that they aren't
defined.  However, they are defined within a #ifdef NES_DEBUG statement,
which if enabled causes "defined but not used" compiler warning, when
the variables are removed.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/nes/nes_hw.c