common: Move do_tftpb() to net.h
[oweals/u-boot.git] / cmd / gpio.c
index 53366f36e768d0f1b60c072837532a07515e6850..eff36ab2af329df34e83bafee24a633a8380ae76 100644 (file)
@@ -91,7 +91,7 @@ static int do_gpio_status(bool all, const char *gpio_name)
 
                if (!gpio_name || !bank_name ||
                    !strncasecmp(gpio_name, bank_name, banklen)) {
-                       const char *p = NULL;
+                       const char *p;
                        int offset;
 
                        p = gpio_name + banklen;