Commit bdced87c authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging:wlan-ng: p80211req_mibset_mibget should be void

this function always returning 0, there are no callers that checks
the return of this function, make this function return void
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 009629ef
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
#include "p80211req.h" #include "p80211req.h"
static void p80211req_handlemsg(wlandevice_t *wlandev, struct p80211msg *msg); static void p80211req_handlemsg(wlandevice_t *wlandev, struct p80211msg *msg);
static int p80211req_mibset_mibget(wlandevice_t *wlandev, static void p80211req_mibset_mibget(wlandevice_t *wlandev,
struct p80211msg_dot11req_mibget *mib_msg, struct p80211msg_dot11req_mibget *mib_msg,
int isget); int isget);
...@@ -177,7 +177,7 @@ static void p80211req_handlemsg(wlandevice_t *wlandev, struct p80211msg *msg) ...@@ -177,7 +177,7 @@ static void p80211req_handlemsg(wlandevice_t *wlandev, struct p80211msg *msg)
} /* switch msg->msgcode */ } /* switch msg->msgcode */
} }
static int p80211req_mibset_mibget(wlandevice_t *wlandev, static void p80211req_mibset_mibget(wlandevice_t *wlandev,
struct p80211msg_dot11req_mibget *mib_msg, struct p80211msg_dot11req_mibget *mib_msg,
int isget) int isget)
{ {
...@@ -254,9 +254,5 @@ static int p80211req_mibset_mibget(wlandevice_t *wlandev, ...@@ -254,9 +254,5 @@ static int p80211req_mibset_mibget(wlandevice_t *wlandev,
} }
break; break;
} }
default:
;
} }
return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment