]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
scsi: aacraid: remove redundant setting of variable c
authorColin Ian King <colin.king@canonical.com>
Fri, 5 Jan 2018 15:31:06 +0000 (15:31 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 9 Jan 2018 02:49:09 +0000 (21:49 -0500)
commit91814744646351a470f256fbcb853fb5a7229a9f
treefb8246349b76462a06ae2710862998d1abfc7b41
parentdd04b0f3b60a0144dcddf13b62392488d91bf8f6
scsi: aacraid: remove redundant setting of variable c

A previous commit no longer stores the contents of c, so we now have a
situation where c is being updated but the value is never read. Clean up
the code by removing the now redundant setting of variable c.

Cleans up clang warning:
drivers/scsi/aacraid/aachba.c:943:3: warning: Value stored to 'c' is
never read

Fixes: f4e8708d3104 ("scsi: aacraid: Fix udev inquiry race condition")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aachba.c