]> git.baikalelectronics.ru Git - kernel.git/commit
libfcoe: Fix meaningless log statement
authorRobert Love <robert.w.love@intel.com>
Tue, 11 Jun 2013 07:28:19 +0000 (07:28 +0000)
committerRobert Love <robert.w.love@intel.com>
Tue, 9 Jul 2013 18:18:47 +0000 (11:18 -0700)
commit27977ffde79a38adf1cb9a688dc365a6a63e2365
tree0f9a67e501749d07729a8319edf6c7d5b841738e
parentda9eb9b42518b256acc278c46fcef69eec63f2fa
libfcoe: Fix meaningless log statement

ctlr_dev was initialized to NULL, and never re-assigned. This
caused the log statement to always report failure. This patch
removes the unused variable and fixes the log statement to always
report 'success', as that is what should be logged if the code
reaches this point.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Tested-by: Jack Morgan <jack.morgan@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
drivers/scsi/fcoe/fcoe_transport.c