]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: csr: netdev.c: Remove unused macros
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Tue, 10 Jul 2012 02:43:11 +0000 (23:43 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jul 2012 00:07:52 +0000 (17:07 -0700)
These macros are not used, so we can remove it.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/netdev.c

index cf19f1116c2e6d0633a4b9af255edc341af41972..55149df5e347d04a4a8c74ffd42bc77367bacb25 100644 (file)
  */
 #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)     \