diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 09:06:17 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 17:32:20 +0200 |
commit | b11844b6068cf091640e6e43a27906b2c5bf86fa (patch) | |
tree | a619cbffe34b19dc4f63cc6de797656d85b8d751 /net/can | |
parent | can: af_can: balance braces around else statements (diff) | |
download | linux-b11844b6068cf091640e6e43a27906b2c5bf86fa.tar.xz linux-b11844b6068cf091640e6e43a27906b2c5bf86fa.zip |
can: af_can: fix alignment
This patch fixes the alignment of find_dev_rcv_lists() and canfd_rcv()
so that checkpatch doesn't complain anymore.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
-rw-r--r-- | net/can/af_can.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c index e3b37676cf53..1fa6abf15302 100644 --- a/net/can/af_can.c +++ b/net/can/af_can.c @@ -299,7 +299,7 @@ EXPORT_SYMBOL(can_send); /* af_can rx path */ static struct can_dev_rcv_lists *find_dev_rcv_lists(struct net *net, - struct net_device *dev) + struct net_device *dev) { if (!dev) return net->can.can_rx_alldev_list; @@ -707,7 +707,7 @@ static int can_rcv(struct sk_buff *skb, struct net_device *dev, } static int canfd_rcv(struct sk_buff *skb, struct net_device *dev, - struct packet_type *pt, struct net_device *orig_dev) + struct packet_type *pt, struct net_device *orig_dev) { struct canfd_frame *cfd = (struct canfd_frame *)skb->data; |