Commit 9b4c8cfa authored by Grzegorz Swirski's avatar Grzegorz Swirski Committed by Greg Kroah-Hartman

staging: wlan-ng: remove unused 'result' var

Signed-off-by: default avatarGrzegorz Swirski <grzegorz@swirski.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d1d1a9d3
...@@ -717,8 +717,6 @@ static int prism2mib_priv(struct mibrec *mib, ...@@ -717,8 +717,6 @@ static int prism2mib_priv(struct mibrec *mib,
{ {
p80211pstrd_t *pstr = (p80211pstrd_t *) data; p80211pstrd_t *pstr = (p80211pstrd_t *) data;
int result;
switch (mib->did) { switch (mib->did) {
case DIDmib_lnx_lnxConfigTable_lnxRSNAIE:{ case DIDmib_lnx_lnxConfigTable_lnxRSNAIE:{
hfa384x_WPAData_t wpa; hfa384x_WPAData_t wpa;
...@@ -734,7 +732,6 @@ static int prism2mib_priv(struct mibrec *mib, ...@@ -734,7 +732,6 @@ static int prism2mib_priv(struct mibrec *mib,
wpa.datalen = cpu_to_le16(pstr->len); wpa.datalen = cpu_to_le16(pstr->len);
memcpy(wpa.data, pstr->data, pstr->len); memcpy(wpa.data, pstr->data, pstr->len);
result =
hfa384x_drvr_setconfig(hw, hfa384x_drvr_setconfig(hw,
HFA384x_RID_CNFWPADATA, HFA384x_RID_CNFWPADATA,
(u8 *) &wpa, (u8 *) &wpa,
......
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