]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit40a312afc53c40fbd05e70150286e59c7c4f14e6
tree1aacb6e77be590f977f664072fbe8513e46b656a
parent7fe1b52b97b037201e1cff2f79a83a456c84bc52
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