Skip to content

Commit

Permalink
staging:wlan-ng: p80211req_mibset_mibget should be void
Browse files Browse the repository at this point in the history
this function always returning 0, there are no callers that checks
the return of this function, make this function return void

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 009629e commit bdced87
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions drivers/staging/wlan-ng/p80211req.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#include "p80211req.h"

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,
int isget);

Expand Down Expand Up @@ -177,7 +177,7 @@ static void p80211req_handlemsg(wlandevice_t *wlandev, struct p80211msg *msg)
} /* 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,
int isget)
{
Expand Down Expand Up @@ -254,9 +254,5 @@ static int p80211req_mibset_mibget(wlandevice_t *wlandev,
}
break;
}
default:
;
}

return 0;
}

0 comments on commit bdced87

Please sign in to comment.