Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c1dfdfe authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: remove unused macros in host_interface



Cleanup patch to remove the unused macro mentioned below. Also move
macro up along with other macro declaration.

Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9572bf9b
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -58,6 +58,8 @@
#define TCP_ACK_FILTER_LINK_SPEED_THRESH	54
#define TCP_ACK_FILTER_LINK_SPEED_THRESH	54
#define DEFAULT_LINK_SPEED			72
#define DEFAULT_LINK_SPEED			72


#define REAL_JOIN_REQ				0

struct host_if_wpa_attr {
struct host_if_wpa_attr {
	u8 *key;
	u8 *key;
	const u8 *mac_addr;
	const u8 *mac_addr;
@@ -248,10 +250,6 @@ static u8 get_ip[2][4];
static u32 inactive_time;
static u32 inactive_time;
static u32 clients_count;
static u32 clients_count;


#define REAL_JOIN_REQ 0
#define FLUSHED_JOIN_REQ 1
#define FLUSHED_BYTE_POS 79

static void *host_int_parse_join_bss_param(struct network_info *info);
static void *host_int_parse_join_bss_param(struct network_info *info);
static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx);
static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx);
static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt);
static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt);