Re: [PATCH] bcma: gpio: remove redundant re-assignment of chip->owner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Colin Ian King <colin.i.king@xxxxxxxxx> wrote:

> There are two identical assignments of chip->owner to the same value,
> the second assignment is redundant and can be removed.
> 
> Cleans up cppcheck warning:
> drivers/bcma/driver_gpio.c:184:15: style: Variable 'chip->owner' is
> reassigned a value before the old one has been used. [redundantAssignment]
> 
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Patch applied to wireless-next.git, thanks.

857f837d856a bcma: gpio: remove redundant re-assignment of chip->owner

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220303085841.1124766-1-colin.i.king@xxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux