2013-11-13 04:56:25

by Alexandre Demers

[permalink] [raw]
Subject: [PATCH] staging r8712u: Remove useless netdev_info slowly polluting dmesg

Remove useless netdev_info slowly flooding dmesg.
Fixes bug https://bugzilla.kernel.org/show_bug.cgi?id=64231

Signed-off-by: Alexandre Demers <[email protected]>
---
drivers/staging/rtl8712/rtl871x_mlme.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl871x_mlme.c b/drivers/staging/rtl8712/rtl871x_mlme.c
index 6596154..7e29f48 100644
--- a/drivers/staging/rtl8712/rtl871x_mlme.c
+++ b/drivers/staging/rtl8712/rtl871x_mlme.c
@@ -1043,9 +1043,6 @@ void r8712_got_addbareq_event_callback(struct _adapter *adapter, u8 *pbuf)
struct sta_priv *pstapriv = &adapter->stapriv;
struct recv_reorder_ctrl *precvreorder_ctrl = NULL;

- netdev_info(adapter->pnetdev, "%s: mac = %pM, seq = %d, tid = %d\n",
- __func__, pAddbareq_pram->MacAddress,
- pAddbareq_pram->StartSeqNum, pAddbareq_pram->tid);
psta = r8712_get_stainfo(pstapriv, pAddbareq_pram->MacAddress);
if (psta) {
precvreorder_ctrl =
--
1.8.4.2



2013-11-13 05:04:26

by Larry Finger

[permalink] [raw]
Subject: Re: [PATCH] staging r8712u: Remove useless netdev_info slowly polluting dmesg

On 11/12/2013 10:56 PM, Alexandre Demers wrote:
> Remove useless netdev_info slowly flooding dmesg.
> Fixes bug https://bugzilla.kernel.org/show_bug.cgi?id=64231
>
> Signed-off-by: Alexandre Demers <[email protected]>
> ---
> drivers/staging/rtl8712/rtl871x_mlme.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/staging/rtl8712/rtl871x_mlme.c b/drivers/staging/rtl8712/rtl871x_mlme.c
> index 6596154..7e29f48 100644
> --- a/drivers/staging/rtl8712/rtl871x_mlme.c
> +++ b/drivers/staging/rtl8712/rtl871x_mlme.c
> @@ -1043,9 +1043,6 @@ void r8712_got_addbareq_event_callback(struct _adapter *adapter, u8 *pbuf)
> struct sta_priv *pstapriv = &adapter->stapriv;
> struct recv_reorder_ctrl *precvreorder_ctrl = NULL;
>
> - netdev_info(adapter->pnetdev, "%s: mac = %pM, seq = %d, tid = %d\n",
> - __func__, pAddbareq_pram->MacAddress,
> - pAddbareq_pram->StartSeqNum, pAddbareq_pram->tid);
> psta = r8712_get_stainfo(pstapriv, pAddbareq_pram->MacAddress);
> if (psta) {
> precvreorder_ctrl =
>

Congratulations. That one applied.

Acked-by: Larry Finger <[email protected]>

Larry