Messages in this thread | | | Subject | Re: [PATCH] scsi: aacraid: remove redundant zero check on ret | From | "Martin K. Petersen" <> | Date | Mon, 27 Feb 2017 22:20:32 -0500 |
| |
>>>>> "Colin" == Colin King <colin.king@canonical.com> writes:
Colin,
Colin> The check for ret being zero is redundant as a few statements Colin> earlier we break out of the while loop if ret is non-zero. Thus Colin> we can remove the zero check and also the dead-code non-zero case Colin> too.
Applied to 4.11/scsi-fixes.
-- Martin K. Petersen Oracle Linux Engineering
| |