Skip to content

Commit d6ae2d6

Browse files
author
Al Stone
committed
can: kvaser_usb: kvaser_usb_set_{,data}bittiming(): remove empty lines in variable declaration
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2071839 Tested: This is one of a series of patch sets to enable Arm SystemReady IR support. This set updates the CAN driver subsystem. This set has been tested on NXP imx8mm and NV Jetson Xavier NX via simple boot tests, using cansend/candump from can-utils to pass messages through a virtual CAN interface, and of course the CI loop. commit 0bf582f Author: Marc Kleine-Budde <mkl@pengutronix.de> Date: Mon Oct 31 12:28:08 2022 +0100 can: kvaser_usb: kvaser_usb_set_{,data}bittiming(): remove empty lines in variable declaration Fix coding style by removing empty lines in variable declaration. Fixes: 39d3df6 ("can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming") Cc: Jimmy Assarsson <extja@kvaser.com> Cc: Anssi Hannula <anssi.hannula@bitwise.fi> Link: https://lore.kernel.org/all/20221031114513.81214-2-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> (cherry picked from commit 0bf582f) Signed-off-by: Al Stone <ahs3@redhat.com>
1 parent cfed9aa commit d6ae2d6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ static int kvaser_usb_set_bittiming(struct net_device *netdev)
536536
struct kvaser_usb *dev = priv->dev;
537537
const struct kvaser_usb_dev_ops *ops = dev->driver_info->ops;
538538
struct can_bittiming *bt = &priv->can.bittiming;
539-
540539
struct kvaser_usb_busparams busparams;
541540
int tseg1 = bt->prop_seg + bt->phase_seg1;
542541
int tseg2 = bt->phase_seg2;
@@ -581,7 +580,6 @@ static int kvaser_usb_set_data_bittiming(struct net_device *netdev)
581580
struct kvaser_usb *dev = priv->dev;
582581
const struct kvaser_usb_dev_ops *ops = dev->driver_info->ops;
583582
struct can_bittiming *dbt = &priv->can.data_bittiming;
584-
585583
struct kvaser_usb_busparams busparams;
586584
int tseg1 = dbt->prop_seg + dbt->phase_seg1;
587585
int tseg2 = dbt->phase_seg2;

0 commit comments

Comments
 (0)