summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-10 22:20:15 +0300
committerTom Rini <trini@konsulko.com>2017-05-12 15:37:39 +0300
commit758979101d161704dc9c1e42db98a728724f59d0 (patch)
tree5a4b0bc1593df007d5444e7b5d54955af1b462e4 /net
parent62f733b396cbe39315e9f28ea348300c6a72caa9 (diff)
downloadu-boot-758979101d161704dc9c1e42db98a728724f59d0.tar.xz
gpio-uclass.c: Fix comparison of unsigned expression warning
We declare that gpio_base (which is the base for counting gpios, not an address) is unsigned. Therefore the comparison with >= 0 is always true. As the desire is to allow for this base number to be 0, we can just drop this check. Reported by clang-3.8. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions