diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-03-03 11:58:41 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-03-10 19:17:53 +0300 |
commit | 857f837d856a5d78bb475b50524f03fd6d458960 (patch) | |
tree | 0f83d5cb47a12022332ed10429619097927a69fe /drivers/bcma/Kconfig | |
parent | 8cbc3d51b4ae5a2875422af9a955f29f73b1fe75 (diff) | |
download | linux-857f837d856a5d78bb475b50524f03fd6d458960.tar.xz |
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
Diffstat (limited to 'drivers/bcma/Kconfig')
0 files changed, 0 insertions, 0 deletions