Skip to content
Commit c07ea8d0 authored by Wolfram Sang's avatar Wolfram Sang Committed by Bartosz Golaszewski
Browse files

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: d377f56f ("gpio: gpiolib: Normalize return code variable name")
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent c351bb64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment