Skip to content

Commit b6d595e

Browse files
JuliaLawallholtmann
authored andcommitted
ieee802154: don't export static symbol
The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // </smpl> Signed-off-by: Julia Lawall <[email protected]> Acked-by: Alexander Aring <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 51b3b2c commit b6d595e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/ieee802154/nl-mac.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ static int ieee802154_nl_start_confirm(struct net_device *dev, u8 status)
7676
nlmsg_free(msg);
7777
return -ENOBUFS;
7878
}
79-
EXPORT_SYMBOL(ieee802154_nl_start_confirm);
8079

8180
static int ieee802154_nl_fill_iface(struct sk_buff *msg, u32 portid,
8281
u32 seq, int flags, struct net_device *dev)

0 commit comments

Comments
 (0)