diff options
| author | Wolfram Sang <[email protected]> | 2021-01-05 10:59:14 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2021-02-01 12:24:28 +0000 |
| commit | c07ea8d0b170c0cf6592a53981841c7973e142ea (patch) | |
| tree | bfa595106301f1074ffb6966782e3c208a4703fe /drivers/usb/cdns3/cdns3-imx.c | |
| parent | gpiolib: free device name on error path to fix kmemleak (diff) | |
| download | kernel-c07ea8d0b170c0cf6592a53981841c7973e142ea.tar.gz kernel-c07ea8d0b170c0cf6592a53981841c7973e142ea.zip | |
gpio: gpiolib: remove shadowed variable
After refactoring, we had two variables for the same thing. Remove the
second declaration, one is enough here. Found by cppcheck.
drivers/gpio/gpiolib.c:2551:17: warning: Local variable 'ret' shadows outer variable [shadowVariable]
Fixes: d377f56f34f5 ("gpio: gpiolib: Normalize return code variable name")
Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
