[PATCH 3/5] staging: csr: netdev.c: Remove unused macros
Marcos Paulo de Souza
marcos.souza.org at gmail.com
Tue Jul 10 02:43:11 UTC 2012
These macros are not used, so we can remove it.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
---
drivers/staging/csr/netdev.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c
index cf19f11..55149df 100644
--- a/drivers/staging/csr/netdev.c
+++ b/drivers/staging/csr/netdev.c
@@ -70,11 +70,6 @@
*/
#define ALLOW_Q_PAUSE
-#define ieee2host16(n) __le16_to_cpu(n)
-#define ieee2host32(n) __le32_to_cpu(n)
-#define host2ieee16(n) __cpu_to_le16(n)
-#define host2ieee32(n) __cpu_to_le32(n)
-
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)
#ifdef UNIFI_NET_NAME
#define UF_ALLOC_NETDEV(_dev, _size, _name, _setup, _num_of_queues) \
--
1.7.10.4
More information about the devel
mailing list