mpt fusion: remove unreachable code
Subsystems (2)
PATCH 1/1 mpt fusion: remove unreachable code
The function mptctl_do_fw_download cannot execute return 0, delete the invalid code.
drivers/message/fusion/mptctl.c:978 mptctl_do_fw_download() warn: ignoring unreachable code.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/message/fusion/mptctl.c | 1 - 1 file changed, 1 deletion(-)
drivers/message/fusion/mptctl.c +0 -1
@@ -975,7 +975,6 @@ mptctl_do_fw_download(MPT_ADAPTER *iocp, char __user *ufwbuf, size_t fwlen)printk (MYIOC_s_WARN_FMT"(bad VooDoo)\n" , iocp->name);return -ENOMSG ; } -return 0 ; fwdl_out:
Signature · 1 line
2.19.1.6.gb485710b