Message ID | 20190704133624.31081-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | Deferred |
Headers | show |
Series | scsi: message: fusion: remove redundant assignment to variable ret | expand |
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index c2dd322691d1..449916e062ce 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c @@ -7106,8 +7106,9 @@ mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag) * HardReset. **/ int -mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *ioc, int sleepFlag) { - int ret = -1; +mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *ioc, int sleepFlag) +{ + int ret; ret = mpt_SoftResetHandler(ioc, sleepFlag); if (ret == 0)