[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <164692908978.6056.13110647210803354793.kvalo@kernel.org>
Date: Thu, 10 Mar 2022 16:18:11 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Rafał Miłecki <zajec5@...il.com>,
linux-wireless@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bcma: gpio: remove redundant re-assignment of chip->owner
Colin Ian King <colin.i.king@...il.com> 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@...il.com>
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@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists