You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: dsa: Fix non static symbol warning
Fixes the following sparse warning: net/dsa/dsa2.c:680:6: warning: symbol '_dsa_unregister_switch' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
a6acf68932
commit
85c22bad56
+1
-1
@@ -677,7 +677,7 @@ int dsa_register_switch(struct dsa_switch *ds, struct device_node *np)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dsa_register_switch);
|
||||
|
||||
void _dsa_unregister_switch(struct dsa_switch *ds)
|
||||
static void _dsa_unregister_switch(struct dsa_switch *ds)
|
||||
{
|
||||
struct dsa_switch_tree *dst = ds->dst;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user