hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/amd/sun3lance.c
....@@ -37,12 +37,12 @@
3737 #include <linux/etherdevice.h>
3838 #include <linux/skbuff.h>
3939 #include <linux/bitops.h>
40
+#include <linux/pgtable.h>
4041
4142 #include <asm/cacheflush.h>
4243 #include <asm/setup.h>
4344 #include <asm/irq.h>
4445 #include <asm/io.h>
45
-#include <asm/pgtable.h>
4646 #include <asm/dvma.h>
4747 #include <asm/idprom.h>
4848 #include <asm/machines.h>
....@@ -657,16 +657,6 @@
657657 struct net_device *dev = dev_id;
658658 struct lance_private *lp = netdev_priv(dev);
659659 int csr0;
660
- static int in_interrupt;
661
-
662
- if (dev == NULL) {
663
- DPRINTK( 1, ( "lance_interrupt(): invalid dev_id\n" ));
664
- return IRQ_NONE;
665
- }
666
-
667
- if (in_interrupt)
668
- DPRINTK( 2, ( "%s: Re-entering the interrupt handler.\n", dev->name ));
669
- in_interrupt = 1;
670660
671661 still_more:
672662 flush_cache_all();
....@@ -774,7 +764,6 @@
774764
775765 DPRINTK( 2, ( "%s: exiting interrupt, csr0=%#04x.\n",
776766 dev->name, DREG ));
777
- in_interrupt = 0;
778767 return IRQ_HANDLED;
779768 }
780769