Messages in this thread | | | Subject | Re: [PATCH 0/3] scsi: mptfusion: Clear the warnings indicating that the variable is not used | From | "Leizhen (ThunderTown)" <> | Date | Tue, 13 Apr 2021 15:25:56 +0800 |
| |
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. I hesitate making functional changes to such an > old driver.
I think patch 3 does not change any functions. The current modification only ensures that error codes are correctly returned in the error branch. In the previous version, 0 is always returned.
>
| |