bcma: gpio: remove redundant re-assignment of chip->owner
authorColin Ian King <colin.i.king@gmail.com>
Thu, 3 Mar 2022 08:58:41 +0000 (08:58 +0000)
committerKalle Valo <kvalo@kernel.org>
Thu, 10 Mar 2022 16:17:53 +0000 (18:17 +0200)
commit857f837d856a5d78bb475b50524f03fd6d458960
tree0f83d5cb47a12022332ed10429619097927a69fe
parent8cbc3d51b4ae5a2875422af9a955f29f73b1fe75
bcma: gpio: remove redundant re-assignment of chip->owner

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@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220303085841.1124766-1-colin.i.king@gmail.com
drivers/bcma/driver_gpio.c