summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wavelan.p.h
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwish.07@gmail.com>2007-02-06 12:34:54 +0300
committerJohn W. Linville <linville@tuxdriver.com>2007-02-14 23:45:04 +0300
commit0a92dd0a70a030a7c2b58937740f26537246d5b0 (patch)
tree315b0a22f81dab02871e4c5aa95b76e5cd6c2aa1 /drivers/net/wireless/wavelan.p.h
parent51471d35cafd8b793c835f1627d6a8c53d360e1f (diff)
downloadlinux-0a92dd0a70a030a7c2b58937740f26537246d5b0.tar.xz
[PATCH] wavelan: Use ARRAY_SIZE macro when appropriate
A patch to use ARRAY_SIZE macro when appropriate. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wavelan.p.h')
-rw-r--r--drivers/net/wireless/wavelan.p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/wavelan.p.h b/drivers/net/wireless/wavelan.p.h
index 72b646c77d5a..fe242812d858 100644
--- a/drivers/net/wireless/wavelan.p.h
+++ b/drivers/net/wireless/wavelan.p.h
@@ -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 */