Skip to contentSkip to conversation

gpib: tnt4882: Clean up mite code

PATCH New Dave Penkler 1 participant 1 message Sep 18 GPIB drivers

lore
Share & tools
lore

Dave Penkler

author maintainer
#0 lore raw

PATCH 1/1 gpib: tnt4882: Clean up mite code

The mite driver was adapted from COMEDI and contains a lot of code that is not relevant for the gpib tnt4882 driver.

Remove useless code.

---
 drivers/gpib/tnt4882/mite.c |   6 --
 drivers/gpib/tnt4882/mite.h | 166 ------------------------------------
 2 files changed, 172 deletions(-)
drivers/gpib/tnt4882/mite.c +0 -6
index c75c45cdf03f..56afad7a9cc1 100644
@@ -35,20 +35,14 @@
 #include <linux/ioport.h>
 #include <linux/delay.h>
 #include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <linux/pci.h>
 #include <linux/io.h>
 #include <linux/slab.h>
 
 #include "mite.h"
 
-#define PCI_MITE_SIZE		4096
-#define PCI_DAQ_SIZE		4096
-
 struct mite_struct *mite_devices;
 
-#define TOP_OF_PAGE(x) ((x) | (~(PAGE_MASK)))
-
 void mite_init(void)
 {
 	struct pci_dev *pcidev;
drivers/gpib/tnt4882/mite.h +0 -166

178 lines not on this page · raw message

Signature · 1 line
2.55.0