]> err.no Git - linux-2.6/blobdiff - drivers/net/wireless/wavelan.p.h
[PATCH] wavelan: Use ARRAY_SIZE macro when appropriate
[linux-2.6] / drivers / net / wireless / wavelan.p.h
index 5cb0bc8bb1289ed3d8a2aaaa15de4d0fc5f5f703..fe242812d858e6161aa4272d43e4461c22cdfeb7 100644 (file)
@@ -449,9 +449,6 @@ static const char   *version        = "wavelan.c : v24 (SMP + wireless extensions) 11/12/
 /* Watchdog temporisation */
 #define        WATCHDOG_JIFFIES        (512*HZ/100)
 
-/* Macro to get the number of elements in an array */
-#define        NELS(a)                         (sizeof(a) / sizeof(a[0]))
-
 /* ------------------------ PRIVATE IOCTL ------------------------ */
 
 #define SIOCSIPQTHR    SIOCIWFIRSTPRIV         /* Set quality threshold */
@@ -642,8 +639,7 @@ static int
 /* ---------------------- INTERRUPT HANDLING ---------------------- */
 static irqreturn_t
        wavelan_interrupt(int,          /* interrupt handler */
-                         void *,
-                         struct pt_regs *);
+                         void *);
 static void
        wavelan_watchdog(struct net_device *);  /* transmission watchdog */
 /* ------------------- CONFIGURATION CALLBACKS ------------------- */