summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorTony Cho2015-09-30 11:44:29 +0200
committerGreg Kroah-Hartman2015-10-02 11:55:59 +0200
commit80bf8836bf7657000f6e49786f82207b8b5cc02f (patch)
tree86b6b351202821eeec1d2a31539ac14f8b722240 /drivers/staging/wilc1000/host_interface.c
parentstaging: wilc1000: rename strHostIFSetChan (diff)
downloadkernel-qcow2-linux-80bf8836bf7657000f6e49786f82207b8b5cc02f.tar.gz
kernel-qcow2-linux-80bf8836bf7657000f6e49786f82207b8b5cc02f.tar.xz
kernel-qcow2-linux-80bf8836bf7657000f6e49786f82207b8b5cc02f.zip
staging: wilc1000: remove struct del_beacon
This patch removes struct del_beacon which is not necessary. This patch also changes Handle_DelBeacon function by removing 2nd parameter, struct del_beacon because it is not used inside. Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c24
1 files changed, 3 insertions, 21 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 4559ed57b296..686402a9dcf3 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -269,22 +269,6 @@ struct set_beacon {
* after the TIM inormation element */
};
-
-
-/*!
- * @struct del_beacon
- * @brief Del Beacon message body
- * @details
- * @todo
- * @sa
- * @author Adham Abozaeid
- * @date 15 July 2012
- * @version 1.0
- */
-struct del_beacon {
- u8 u8dummy;
-};
-
/*!
* @struct set_multicast
* @brief set Multicast filter Address
@@ -408,7 +392,6 @@ union message_body {
struct cfg_param_attr cfg_info;
struct channel_attr channel_info;
struct set_beacon strHostIFSetBeacon;
- struct del_beacon strHostIFDelBeacon;
struct add_sta_param strAddStaParam;
struct del_sta strDelStaParam;
struct add_sta_param strEditStaParam;
@@ -3244,14 +3227,13 @@ ERRORHANDLER:
/**
* @brief Handle_AddBeacon
* @details Sending config packet to delete beacon
- * @param[in] struct del_beacon *pstrDelBeacon
+ * @param[in] tstrWILC_WFIDrv *drvHandler
* @return NONE
* @author
* @date
* @version 1.0
*/
-static void Handle_DelBeacon(tstrWILC_WFIDrv *drvHandler,
- struct del_beacon *pstrDelBeacon)
+static void Handle_DelBeacon(tstrWILC_WFIDrv *drvHandler)
{
s32 s32Error = 0;
tstrWID strWID;
@@ -4156,7 +4138,7 @@ static int hostIFthread(void *pvArg)
break;
case HOST_IF_MSG_DEL_BEACON:
- Handle_DelBeacon(msg.drvHandler, &msg.body.strHostIFDelBeacon);
+ Handle_DelBeacon(msg.drvHandler);
break;
case HOST_IF_MSG_ADD_STATION: