Skip to content
Commit a2ceb1fb authored by Robert Love's avatar Robert Love
Browse files

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: default avatarRobert Love <robert.w.love@intel.com>
Tested-by: default avatarJack Morgan <jack.morgan@intel.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
parent 3a292605
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment