Skip to content

Commit a60956e

Browse files
lunndavem330
authored andcommitted
net: dsa: Make dsa_master_set_mtu() static
Add the missing static keyword. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 91ba479 commit a60956e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/dsa/master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static void dsa_master_ethtool_teardown(struct net_device *dev)
158158
cpu_dp->orig_ethtool_ops = NULL;
159159
}
160160

161-
void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp)
161+
static void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp)
162162
{
163163
unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead;
164164
int err;

0 commit comments

Comments
 (0)