mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 16:50:05 +00:00
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 <cascardo@holoscopio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e3dbc46c2a
commit
61463a30f6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user