* [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default()
@ 2023-07-31 14:07 Yue Haibing
2023-08-01 6:02 ` Kalle Valo
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Yue Haibing @ 2023-07-31 14:07 UTC (permalink / raw)
To: johannes, davem, edumazet, kuba, pabeni, nbd,
pagadala.yesu.anjaneyulu
Cc: linux-wireless, netdev, linux-kernel, Yue Haibing
Commit ccf80ddfe492 ("mac80211: mesh function and data structures definitions")
introducted this but never implemented.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
net/mac80211/mesh.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h
index 6c94222a9df5..ad8469293d71 100644
--- a/net/mac80211/mesh.h
+++ b/net/mac80211/mesh.h
@@ -212,7 +212,6 @@ int mesh_rmc_check(struct ieee80211_sub_if_data *sdata,
const u8 *addr, struct ieee80211s_hdr *mesh_hdr);
bool mesh_matches_local(struct ieee80211_sub_if_data *sdata,
struct ieee802_11_elems *ie);
-void mesh_ids_set_default(struct ieee80211_if_mesh *mesh);
int mesh_add_meshconf_ie(struct ieee80211_sub_if_data *sdata,
struct sk_buff *skb);
int mesh_add_meshid_ie(struct ieee80211_sub_if_data *sdata,
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default()
2023-07-31 14:07 [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default() Yue Haibing
@ 2023-08-01 6:02 ` Kalle Valo
2023-08-01 10:17 ` Simon Horman
2023-08-08 8:24 ` Johannes Berg
2 siblings, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2023-08-01 6:02 UTC (permalink / raw)
To: Yue Haibing
Cc: johannes, davem, edumazet, kuba, pabeni, nbd,
pagadala.yesu.anjaneyulu, linux-wireless, netdev, linux-kernel
Yue Haibing <yuehaibing@huawei.com> writes:
> Commit ccf80ddfe492 ("mac80211: mesh function and data structures definitions")
> introducted this but never implemented.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> net/mac80211/mesh.h | 1 -
> 1 file changed, 1 deletion(-)
The title should have "wifi:" but no need to resend because of this.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default()
2023-07-31 14:07 [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default() Yue Haibing
2023-08-01 6:02 ` Kalle Valo
@ 2023-08-01 10:17 ` Simon Horman
2023-08-08 8:24 ` Johannes Berg
2 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2023-08-01 10:17 UTC (permalink / raw)
To: Yue Haibing
Cc: johannes, davem, edumazet, kuba, pabeni, nbd,
pagadala.yesu.anjaneyulu, linux-wireless, netdev, linux-kernel
On Mon, Jul 31, 2023 at 10:07:12PM +0800, Yue Haibing wrote:
> Commit ccf80ddfe492 ("mac80211: mesh function and data structures definitions")
> introducted this but never implemented.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default()
2023-07-31 14:07 [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default() Yue Haibing
2023-08-01 6:02 ` Kalle Valo
2023-08-01 10:17 ` Simon Horman
@ 2023-08-08 8:24 ` Johannes Berg
2023-08-08 15:14 ` Yue Haibing
2 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2023-08-08 8:24 UTC (permalink / raw)
To: Yue Haibing, davem, edumazet, kuba, pabeni, nbd,
pagadala.yesu.anjaneyulu
Cc: linux-wireless, netdev, linux-kernel
On Mon, 2023-07-31 at 22:07 +0800, Yue Haibing wrote:
> Commit ccf80ddfe492 ("mac80211: mesh function and data structures definitions")
> introducted this but never implemented.
>
Btw, are you detecting these with some kind of tool? Having the tool
would probably be more useful than you sending all these patches all the
time ...
johannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default()
2023-08-08 8:24 ` Johannes Berg
@ 2023-08-08 15:14 ` Yue Haibing
0 siblings, 0 replies; 5+ messages in thread
From: Yue Haibing @ 2023-08-08 15:14 UTC (permalink / raw)
To: Johannes Berg, davem, edumazet, kuba, pabeni, nbd,
pagadala.yesu.anjaneyulu
Cc: linux-wireless, netdev, linux-kernel
On 2023/8/8 16:24, Johannes Berg wrote:
> On Mon, 2023-07-31 at 22:07 +0800, Yue Haibing wrote:
>> Commit ccf80ddfe492 ("mac80211: mesh function and data structures definitions")
>> introducted this but never implemented.
>>
>
> Btw, are you detecting these with some kind of tool? Having the tool
> would probably be more useful than you sending all these patches all the
> time ...
>
Just use grep to check like below
grep -rP --include=*.c '^(?:\w+\s+){1,3}\*{0,3}\s{0,3}\w+[\t]*\(' * |grep -P -oh '\w+\s*\('|sort| uniq -c| sort -n| grep -P '^\s+1\b'|sed -r -e 's/^\s+1\s+//' -e 's/\(//'|while read line ;
do
IS=`git grep -w $line |wc -l` ;
if [ $IS -eq 1 ];then
git grep -wn $line
fi
done
> johannes
> .
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-08 16:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 14:07 [PATCH] mac80211: mesh: Remove unused function declaration mesh_ids_set_default() Yue Haibing
2023-08-01 6:02 ` Kalle Valo
2023-08-01 10:17 ` Simon Horman
2023-08-08 8:24 ` Johannes Berg
2023-08-08 15:14 ` Yue Haibing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).