From: Kalle Valo <kvalo@codeaurora.org>
To: YueHaibing <yuehaibing@huawei.com>
Cc: linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org,
ath10k@lists.infradead.org, netdev@vger.kernel.org
Subject: Re: [PATCH] ath10k: remove set but not used variable 'num_tdls_vifs'
Date: Thu, 20 Dec 2018 16:47:01 +0000 (UTC) [thread overview]
Message-ID: <20181220164702.013FD6071C@smtp.codeaurora.org> (raw)
In-Reply-To: <1541669570-110540-1-git-send-email-yuehaibing@huawei.com>
YueHaibing <yuehaibing@huawei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_sta_state':
> drivers/net/wireless/ath/ath10k/mac.c:6238:7: warning:
> variable 'num_tdls_vifs' set but not used [-Wunused-but-set-variable]
>
> 'num_tdls_vifs' not used any more after
> 9a993cc1ea95 ("ath10k: fix the logic of limiting tdls peer counts")
>
> Also, remove the single called function ath10k_mac_tdls_vifs_count
> and ath10k_mac_tdls_vifs_count_iter.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
bff70e5f78e9 ath10k: remove set but not used variable 'num_tdls_vifs'
--
https://patchwork.kernel.org/patch/10673841/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: YueHaibing <yuehaibing@huawei.com>
Cc: linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org,
YueHaibing <yuehaibing@huawei.com>,
ath10k@lists.infradead.org, netdev@vger.kernel.org
Subject: Re: [PATCH] ath10k: remove set but not used variable 'num_tdls_vifs'
Date: Thu, 20 Dec 2018 16:47:01 +0000 (UTC) [thread overview]
Message-ID: <20181220164702.013FD6071C@smtp.codeaurora.org> (raw)
In-Reply-To: <1541669570-110540-1-git-send-email-yuehaibing@huawei.com>
YueHaibing <yuehaibing@huawei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_sta_state':
> drivers/net/wireless/ath/ath10k/mac.c:6238:7: warning:
> variable 'num_tdls_vifs' set but not used [-Wunused-but-set-variable]
>
> 'num_tdls_vifs' not used any more after
> 9a993cc1ea95 ("ath10k: fix the logic of limiting tdls peer counts")
>
> Also, remove the single called function ath10k_mac_tdls_vifs_count
> and ath10k_mac_tdls_vifs_count_iter.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
bff70e5f78e9 ath10k: remove set but not used variable 'num_tdls_vifs'
--
https://patchwork.kernel.org/patch/10673841/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2018-12-20 16:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-08 9:32 [PATCH] ath10k: remove set but not used variable 'num_tdls_vifs' YueHaibing
2018-11-08 9:32 ` YueHaibing
2018-11-08 9:32 ` YueHaibing
2018-12-20 16:47 ` Kalle Valo
2018-12-20 16:47 ` Kalle Valo
2018-12-20 16:47 ` Kalle Valo
2018-12-20 16:47 ` Kalle Valo [this message]
2018-12-20 16:47 ` Kalle Valo
-- strict thread matches above, loose matches on Subject: below --
2018-10-19 12:20 [PATCH] ath10k: remove set but not used variable 'tlv_len' YueHaibing
2018-10-19 12:20 ` YueHaibing
2018-10-19 12:20 ` YueHaibing
2018-11-05 11:13 ` Kalle Valo
2018-11-05 11:13 ` Kalle Valo
2018-11-05 11:13 ` Kalle Valo
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=20181220164702.013FD6071C@smtp.codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=ath10k@lists.infradead.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yuehaibing@huawei.com \
/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.