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:
Gabriel Goller 2021-11-12 21:35:52 +01:00 committed by Greg Kroah-Hartman
parent fca00dc456
commit ac0c9be91a
1 changed files with 0 additions and 8 deletions

View File

@ -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,