staging: wilc1000: remove the mutliple #define used for same macro
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 18 Jul 2018 22:45:08 +0000 (04:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 07:04:47 +0000 (09:04 +0200)
commite3da5d9d255f3d6919be5db8c0e7c80743e65be7
tree1aacb6e77be590f977f664072fbe8513e46b656a
parentcf15e3dc8fbec6d91a77ed858a538ba924c819de
staging: wilc1000: remove the mutliple #define used for same macro

Moved the same #define in common header file instead of having their
declartion in different files.

Below macros are moved to header file:
TCP_ACK_FILTER_LINK_SPEED_THRESH
DEFAULT_LINK_SPEED
GET_PKT_OFFSET

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/linux_mon.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h