aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan.c
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-02-26 22:01:58 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-01 17:22:28 +0100
commit8544b8098a2cf69574764f7c178647b8872ec202 (patch)
treebcf363fb906bcad88bfc1710afc4b58f6415a69a /drivers/staging/wilc1000/wilc_wlan.c
parentstaging: wilc1000: fix line over 80 char in wilc_wlan_handle_txq() (diff)
downloadlinux-dev-8544b8098a2cf69574764f7c178647b8872ec202.tar.xz
linux-dev-8544b8098a2cf69574764f7c178647b8872ec202.zip
staging: wilc1000: move multiple definition of same macro to common header
Move the same #define from multiple '.c' files to common header file. Instead of having same macro in different '.c' files, now kept in common '.h' file. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.c')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index ee7102d20f72..f7627856b889 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -810,10 +810,6 @@ static void wilc_wlan_handle_rxq(struct wilc *wilc)
if (pkt_len == 0 || tp_len == 0)
break;
- #define IS_MANAGMEMENT 0x100
- #define IS_MANAGMEMENT_CALLBACK 0x080
- #define IS_MGMT_STATUS_SUCCES 0x040
-
if (pkt_offset & IS_MANAGMEMENT) {
pkt_offset &= ~(IS_MANAGMEMENT |
IS_MANAGMEMENT_CALLBACK |