patch-1.3.39 linux/drivers/net/hp100.c

Next file: linux/drivers/net/ibmtr.c
Previous file: linux/drivers/net/hp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -499,9 +499,7 @@
     }
   irq2dev_map[ dev -> irq ] = dev;
 
-#ifdef MODULE
   MOD_INC_USE_COUNT;
-#endif
   
   dev -> tbusy = 0;
   dev -> trans_start = jiffies;
@@ -569,9 +567,7 @@
 
   free_irq( dev -> irq );
   irq2dev_map[ dev -> irq ] = NULL;
-#ifdef MODULE
   MOD_DEC_USE_COUNT;
-#endif
   return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this