On Thu, 8 Apr 2021 14:18:48 +0800, Zhen Lei wrote:
> Fix below warnings:
> drivers/message/fusion/mptctl.c: In function ‘mptctl_do_taskmgmt’:
> drivers/message/fusion/mptctl.c:324:17: warning: variable ‘time_count’ set
> but not used [-Wunused-but-set-variable]
> 324 | unsigned long
On 2021/4/13 13:07, Martin K. Petersen wrote:
>
> Zhen,
>
>> Zhen Lei (3):
>> scsi: mptfusion: Remove unused local variable 'time_count'
>> scsi: mptfusion: Remove unused local variable 'port'
>> scsi: mptfusion: Fix error return code of mptctl_hp_hostinfo()
>
> I applied patches 1+2.
Zhen,
> Zhen Lei (3):
> scsi: mptfusion: Remove unused local variable 'time_count'
> scsi: mptfusion: Remove unused local variable 'port'
> scsi: mptfusion: Fix error return code of mptctl_hp_hostinfo()
I applied patches 1+2. I hesitate making functional changes to such an
old driver.
Fix below warnings:
drivers/message/fusion/mptctl.c: In function ‘mptctl_do_taskmgmt’:
drivers/message/fusion/mptctl.c:324:17: warning: variable ‘time_count’ set but
not used [-Wunused-but-set-variable]
324 | unsigned long time_count;
| ^~
4 matches
Mail list logo