Re: [PATCH -next] advansys: remove set but not used variable 'srb_tag' in adv_isr_callback
From: Martin K. Petersen
Date: Wed Oct 17 2018 - 21:03:09 EST
YueHaibing,
> drivers/scsi/advansys.c: In function 'adv_isr_callback':
> drivers/scsi/advansys.c:5952:6: warning:
> variable 'srb_tag' set but not used [-Wunused-but-set-variable]
>
> It never used since introduction in
> commit 9c17c62aedb0 ("advansys: use shared host tag map for command lookup")
Applied to 4.20/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering