summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2013-06-11 07:28:19 +0000
committerRobert Love <robert.w.love@intel.com>2013-07-09 11:18:47 -0700
commita2ceb1fbaa875172345f611a3d37c3662f7e5082 (patch)
tree0f9a67e501749d07729a8319edf6c7d5b841738e /drivers/extcon
parent3a2926054acf876313afaaddac00a8ad255f6d68 (diff)
downloadtalos-obmc-linux-a2ceb1fbaa875172345f611a3d37c3662f7e5082.tar.gz
talos-obmc-linux-a2ceb1fbaa875172345f611a3d37c3662f7e5082.zip
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>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud