mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
scsi: aacraid: Remove unused variable 'status'
Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/dpcsup.c: In function ‘aac_aif_callback’: drivers/scsi/aacraid/dpcsup.c:232:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] 232 | int status; | ^~~~~~ Link: https://lore.kernel.org/r/20200713080001.128044-5-lee.jones@linaro.org Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com> Cc: "PMC-Sierra, Inc" <aacraid@pmc-sierra.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
2fee77e5b8
commit
0123c7c62d
@ -230,7 +230,6 @@ static void aac_aif_callback(void *context, struct fib * fibptr)
|
||||
struct fib *fibctx;
|
||||
struct aac_dev *dev;
|
||||
struct aac_aifcmd *cmd;
|
||||
int status;
|
||||
|
||||
fibctx = (struct fib *)context;
|
||||
BUG_ON(fibptr == NULL);
|
||||
@ -250,7 +249,7 @@ static void aac_aif_callback(void *context, struct fib * fibptr)
|
||||
cmd = (struct aac_aifcmd *) fib_data(fibctx);
|
||||
cmd->command = cpu_to_le32(AifReqEvent);
|
||||
|
||||
status = aac_fib_send(AifRequest,
|
||||
aac_fib_send(AifRequest,
|
||||
fibctx,
|
||||
sizeof(struct hw_fib)-sizeof(struct aac_fibhdr),
|
||||
FsaNormal,
|
||||
|
Loading…
Reference in New Issue
Block a user