Skip to content

Commit 6ef0023

Browse files
Phoebe Buckheisterdavem330
authored andcommitted
mac802154: make mac802154_wpan_open static
This function is only used within the same translation unit, so mark it static. Signed-off-by: Phoebe Buckheister <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1cc76e3 commit 6ef0023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/mac802154/wpan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void mac802154_get_mac_params(struct net_device *dev,
124124
mutex_unlock(&priv->hw->slaves_mtx);
125125
}
126126

127-
int mac802154_wpan_open(struct net_device *dev)
127+
static int mac802154_wpan_open(struct net_device *dev)
128128
{
129129
int rc;
130130
struct mac802154_sub_if_data *priv = netdev_priv(dev);

0 commit comments

Comments
 (0)