staging: wilc1000: remove host_int_disconnect_station
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:49:23 +0000 (16:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:14:03 +0000 (14:14 -0800)
This patch removes host_int_disconnect_station function definition and
declaration that is defined at host_interface.c and host_interface.h.
This function is defined but not used anywhere so just remove it.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 057534518f49c0423dc43c7e3fd5bf2356855cb3..676b3c7afeb027c15bd1898e1da37397fffc9ffb 100644 (file)
@@ -3529,18 +3529,6 @@ s32 host_int_disconnect(struct host_if_drv *hif_drv, u16 u16ReasonCode)
        return result;
 }
 
-s32 host_int_disconnect_station(struct host_if_drv *hif_drv, u8 assoc_id)
-{
-       struct wid wid;
-
-       wid.id = (u16)WID_DISCONNECT;
-       wid.type = WID_CHAR;
-       wid.val = (s8 *)&assoc_id;
-       wid.size = sizeof(char);
-
-       return 0;
-}
-
 s32 host_int_get_assoc_req_info(struct host_if_drv *hif_drv,
                                u8 *pu8AssocReqInfo,
                                u32 u32AssocReqInfoLen)
index 52622dfd97359a60df8b52b9bd722df558e56072..e51a56351f3dd7a586a870a23fb4a642240b6380 100644 (file)
@@ -335,7 +335,6 @@ s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid,
                          u8 u8channel, void *pJoinParams);
 s32 host_int_flush_join_req(struct host_if_drv *hWFIDrv);
 s32 host_int_disconnect(struct host_if_drv *hWFIDrv, u16 u16ReasonCode);
-s32 host_int_disconnect_station(struct host_if_drv *hWFIDrv, u8 assoc_id);
 s32 host_int_get_assoc_req_info(struct host_if_drv *hWFIDrv,
                                u8 *pu8AssocReqInfo,
                                u32 u32AssocReqInfoLen);