summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-02-03 10:32:06 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-04 04:12:47 +0100
commita4b97f2054af2e411c414ed4cb5e1d0dbfd24a47 (patch)
treecb932fd8ebdfecfe7a6c360b3ac0f9aa3b090467 /drivers/net/sfc
parentsfc: Fix some incorrect or redundant comments (diff)
downloadlinux-a4b97f2054af2e411c414ed4cb5e1d0dbfd24a47.tar.xz
linux-a4b97f2054af2e411c414ed4cb5e1d0dbfd24a47.zip
sfc: Do not include unneeded headers
Earlier refactoring has made these inclusions unnecessary. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/net_driver.h1
-rw-r--r--drivers/net/sfc/selftest.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index ac77a252c7e2..cb018e272097 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -18,7 +18,6 @@
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
-#include <linux/timer.h>
#include <linux/mdio.h>
#include <linux/list.h>
#include <linux/pci.h>
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c
index 8a5a7b6d042d..cf0139a7d9a4 100644
--- a/drivers/net/sfc/selftest.c
+++ b/drivers/net/sfc/selftest.c
@@ -24,8 +24,6 @@
#include "nic.h"
#include "selftest.h"
#include "workarounds.h"
-#include "spi.h"
-#include "io.h"
/*
* Loopback test packet structure