staging: wilc1000: remove host_int_get_start_scan_req
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:49:22 +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_get_start_scan_req function definition and
declaration that is defined at host_interface.c and host_interface.h.
This function is defined but not used anywhere in this driver 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 174cb6adb64c87141f35339e807d686fe9bbfb4e..057534518f49c0423dc43c7e3fd5bf2356855cb3 100644 (file)
@@ -3413,18 +3413,6 @@ s32 host_int_set_MacAddress(struct host_if_drv *hif_drv, u8 *pu8MacAddress)
        return result;
 }
 
-s32 host_int_get_start_scan_req(struct host_if_drv *hif_drv, u8 *pu8ScanSource)
-{
-       struct wid wid;
-
-       wid.id = (u16)WID_START_SCAN_REQ;
-       wid.type = WID_CHAR;
-       wid.val = (s8 *)pu8ScanSource;
-       wid.size = sizeof(char);
-
-       return 0;
-}
-
 s32 host_int_set_join_req(struct host_if_drv *hif_drv, u8 *pu8bssid,
                          const u8 *pu8ssid, size_t ssidLen,
                          const u8 *pu8IEs, size_t IEsLen,
index 14ce3972711f60c5aca6961bd76c21bdb61ea30c..52622dfd97359a60df8b52b9bd722df558e56072 100644 (file)
@@ -327,7 +327,6 @@ s32 host_int_set_pmkid_info(struct host_if_drv *hWFIDrv,
 s32 hif_get_mac_address(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress);
 s32 host_int_set_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress);
 int host_int_wait_msg_queue_idle(void);
-s32 host_int_get_start_scan_req(struct host_if_drv *hWFIDrv, u8 *pu8ScanSource);
 s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid,
                          const u8 *pu8ssid, size_t ssidLen,
                          const u8 *pu8IEs, size_t IEsLen,