staging: wlan-ng: Removed unused comments
Removed commented-out code pieces that are unnecessary. Signed-off-by: Gabriel Goller <gabrielgoller123@gmail.com> Link: https://lore.kernel.org/r/YY7QKNB7egKuTC36@desktop Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fca00dc456
commit
ac0c9be91a
@ -679,16 +679,8 @@ static int prism2mib_priv(struct mibrec *mib,
|
||||
HFA384x_RID_CNFWPADATA,
|
||||
(u8 *)&wpa,
|
||||
sizeof(wpa));
|
||||
/*
|
||||
pstr->len = le16_to_cpu(wpa.datalen);
|
||||
memcpy(pstr->data, wpa.data, pstr->len);
|
||||
*/
|
||||
pstr->len = 0;
|
||||
} else {
|
||||
/*
|
||||
wpa.datalen = cpu_to_le16(pstr->len);
|
||||
memcpy(wpa.data, pstr->data, pstr->len);
|
||||
*/
|
||||
wpa.datalen = 0;
|
||||
|
||||
hfa384x_drvr_setconfig(hw,
|
||||
|
Loading…
Reference in New Issue
Block a user