diff options
author | Grzegorz Swirski <grzegorz@swirski.name> | 2014-09-20 12:09:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 23:42:39 -0700 |
commit | 9b4c8cfaff67086f7c8c2540576a6e9504c8bd88 (patch) | |
tree | 45daef52481fc0f0368a0fd13c659be665d3aa42 /drivers | |
parent | d1d1a9d3a104531e25b7a33d60b627e93700327f (diff) | |
download | op-kernel-dev-9b4c8cfaff67086f7c8c2540576a6e9504c8bd88.zip op-kernel-dev-9b4c8cfaff67086f7c8c2540576a6e9504c8bd88.tar.gz |
staging: wlan-ng: remove unused 'result' var
Signed-off-by: Grzegorz Swirski <grzegorz@swirski.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wlan-ng/prism2mib.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c index f471708..0163e06 100644 --- a/drivers/staging/wlan-ng/prism2mib.c +++ b/drivers/staging/wlan-ng/prism2mib.c @@ -717,8 +717,6 @@ static int prism2mib_priv(struct mibrec *mib, { p80211pstrd_t *pstr = (p80211pstrd_t *) data; - int result; - switch (mib->did) { case DIDmib_lnx_lnxConfigTable_lnxRSNAIE:{ hfa384x_WPAData_t wpa; @@ -734,11 +732,10 @@ static int prism2mib_priv(struct mibrec *mib, wpa.datalen = cpu_to_le16(pstr->len); memcpy(wpa.data, pstr->data, pstr->len); - result = - hfa384x_drvr_setconfig(hw, - HFA384x_RID_CNFWPADATA, - (u8 *) &wpa, - sizeof(wpa)); + hfa384x_drvr_setconfig(hw, + HFA384x_RID_CNFWPADATA, + (u8 *) &wpa, + sizeof(wpa)); } break; } |