summaryrefslogtreecommitdiffstats
path: root/nicintel_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'nicintel_spi.c')
-rw-r--r--nicintel_spi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nicintel_spi.c b/nicintel_spi.c
index 852c042ea..004af66b8 100644
--- a/nicintel_spi.c
+++ b/nicintel_spi.c
@@ -35,7 +35,6 @@
#include "flash.h"
#include "programmer.h"
#include "hwaccess.h"
-#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"
@@ -293,9 +292,6 @@ static int nicintel_spi_init(void)
{
struct pci_dev *dev = NULL;
- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(nics_intel_spi, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;