From: Gabriel Goller <gabrielgoller123@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev
Subject: [PATCH] staging: wlan-ng: Removed unused comments
Date: Sat, 30 Oct 2021 13:04:54 +0200 [thread overview]
Message-ID: <YX0m1jF6p6OjMTRV@desktop> (raw)
Removed commented-out code pieces that are not used anymore.
Signed-off-by: Gabriel Goller <gabrielgoller123@gmail.com>
---
drivers/staging/wlan-ng/prism2mib.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c
index c04fc17b3c64..fcf8313870af 100644
--- a/drivers/staging/wlan-ng/prism2mib.c
+++ b/drivers/staging/wlan-ng/prism2mib.c
@@ -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,
--
2.30.2
next reply other threads:[~2021-10-30 11:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-30 11:04 Gabriel Goller [this message]
2021-10-30 12:17 ` [PATCH] staging: wlan-ng: Removed unused comments Greg KH
-- strict thread matches above, loose matches on Subject: below --
2021-10-30 12:51 Gabriel Goller
2021-11-12 20:35 Gabriel Goller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YX0m1jF6p6OjMTRV@desktop \
--to=gabrielgoller123@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.