summarylogtreecommitdiffstats
path: root/linux-4.6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux-4.6.patch')
-rw-r--r--linux-4.6.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/linux-4.6.patch b/linux-4.6.patch
deleted file mode 100644
index 1651fc291b47..000000000000
--- a/linux-4.6.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- setup/Linux/oss/build/pci_wrapper.inc 2014-08-31 19:40:14.000000000 +0100
-+++ setup/Linux/oss/build/pci_wrapper.inc 2016-06-15 06:51:46.402770996 +0100
-@@ -71,8 +71,10 @@
-
- #if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
- static int __devexit
--#else
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(4,6,0)
- static int
-+#else
-+ void
- #endif
- osspci_remove (struct pci_dev *pcidev)
- {
-@@ -88,11 +90,19 @@
- pci_disable_device (dev_map[i].pcidev);
- osdev_delete (osdev);
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,6,0)
- return 0;
-+#else
-+ return;
-+#endif
- }
-
- printk (KERN_ALERT DRIVER_NICK ": Can't find the PCI device to detach\n");
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,6,0)
- return -EIO;
-+#else
-+ return;
-+#endif
- }
-
- void