summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:47:12 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commite7dcf5645f09504573f534b0fc9abbbc6ff8a5ad (patch)
tree26488fce7d5ae4e62adbdcdae9439f51876ace95 /net
parentf030b7b2607013a1b05a696e7f010d5f8dbe4fcd (diff)
env: Drop environment.h header file where not needed
This header file is now only used by files that access internal environment features. Drop it from various places where it is not needed. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
-rw-r--r--net/eth-uclass.c1
-rw-r--r--net/eth_common.c1
-rw-r--r--net/eth_legacy.c1
-rw-r--r--net/wol.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 4e4f472431..1d5d2f03b7 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -8,7 +8,6 @@
#include <common.h>
#include <dm.h>
#include <env.h>
-#include <environment.h>
#include <net.h>
#include <dm/device-internal.h>
#include <dm/uclass-internal.h>
diff --git a/net/eth_common.c b/net/eth_common.c
index dcc59186d8..ed26b1b693 100644
--- a/net/eth_common.c
+++ b/net/eth_common.c
@@ -8,7 +8,6 @@
#include <common.h>
#include <dm.h>
#include <env.h>
-#include <environment.h>
#include <miiphy.h>
#include <net.h>
#include "eth_internal.h"
diff --git a/net/eth_legacy.c b/net/eth_legacy.c
index 0f558b23ce..850f362d87 100644
--- a/net/eth_legacy.c
+++ b/net/eth_legacy.c
@@ -8,7 +8,6 @@
#include <common.h>
#include <command.h>
#include <env.h>
-#include <environment.h>
#include <net.h>
#include <phy.h>
#include <linux/errno.h>
diff --git a/net/wol.c b/net/wol.c
index 51543343e4..0a625668a9 100644
--- a/net/wol.c
+++ b/net/wol.c
@@ -7,7 +7,6 @@
#include <command.h>
#include <env.h>
#include <net.h>
-#include <environment.h>
#include "wol.h"
static ulong wol_timeout = WOL_DEFAULT_TIMEOUT;