]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mptfusion: Remove redundant variable r
authorColin Ian King <colin.i.king@gmail.com>
Sun, 5 Dec 2021 22:59:01 +0000 (22:59 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 Dec 2021 03:22:18 +0000 (22:22 -0500)
commiteddb1dd20c0e17d7f2d96bc7fe6eb115326b6dd2
tree81b8a417a48e8903cda2a82fb33fd3d625cc0d05
parent09c516b0c2352f037e79d1ca9d4a4ae5cdde7cdc
scsi: mptfusion: Remove redundant variable r

Variable r is being assigned a value that is never read. The assignment is
redundant and so is the variable, so remove these. Remove unnecessary the
{} braces in the if statement too.

Link: https://lore.kernel.org/r/20211205225901.54362-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptbase.c