From: Thadeu Lima de Souza Cascardo Date: Thu, 21 Jul 2011 16:22:31 +0000 (+0000) Subject: can: make function can_get_bittiming static X-Git-Tag: firefly_0821_release~3680^2~5008^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=61463a30f65225e19e68f59dbd7b888bb308ec99;p=firefly-linux-kernel-4.4.55.git can: make function can_get_bittiming static The function can_get_bittiming is not used anywhere else, so it should be static. Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: David S. Miller --- diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index d0f8c7e67e7d..9bf1116e5b5e 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c @@ -208,7 +208,7 @@ static int can_fixup_bittiming(struct net_device *dev, struct can_bittiming *bt) return 0; } -int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt) +static int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt) { struct can_priv *priv = netdev_priv(dev); int err;