summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:21 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:23:09 -0500
commit8d5babb45a051efb9ce4c9e06a693d72ee6cba5a (patch)
tree3318c13030cc4ae7c07874aebaf6df3445efd192 /include/common.h
parent2189d5f1e8a2fd74ce52906999fd50c8f8330c81 (diff)
downloadu-boot-8d5babb45a051efb9ce4c9e06a693d72ee6cba5a.tar.gz
u-boot-8d5babb45a051efb9ce4c9e06a693d72ee6cba5a.tar.bz2
u-boot-8d5babb45a051efb9ce4c9e06a693d72ee6cba5a.zip
common: Move env_get_ip() to net.h
This function relates to networking, so move it out of the common.h header file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index f993e4bef3..4fda40cc1d 100644
--- a/include/common.h
+++ b/include/common.h
@@ -319,10 +319,6 @@ int serial_printf (const char *fmt, ...)
/* lib/net_utils.c */
#include <net.h>
-static inline struct in_addr env_get_ip(char *var)
-{
- return string_to_ip(env_get(var));
-}
#include <bootstage.h>