mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 06:26:49 +07:00
can: vcan: remove unnecessary blank lines
This patch removes unnecessary blank lines, so that checkpatch doesn't complain anymore. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
d569de8149
commit
4248f5e02f
@ -65,7 +65,6 @@ static bool echo; /* echo testing. Default: 0 (Off) */
|
|||||||
module_param(echo, bool, 0444);
|
module_param(echo, bool, 0444);
|
||||||
MODULE_PARM_DESC(echo, "Echo sent frames (for testing). Default: 0 (Off)");
|
MODULE_PARM_DESC(echo, "Echo sent frames (for testing). Default: 0 (Off)");
|
||||||
|
|
||||||
|
|
||||||
static void vcan_rx(struct sk_buff *skb, struct net_device *dev)
|
static void vcan_rx(struct sk_buff *skb, struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct canfd_frame *cfd = (struct canfd_frame *)skb->data;
|
struct canfd_frame *cfd = (struct canfd_frame *)skb->data;
|
||||||
@ -112,7 +111,6 @@ static netdev_tx_t vcan_tx(struct sk_buff *skb, struct net_device *dev)
|
|||||||
/* perform standard echo handling for CAN network interfaces */
|
/* perform standard echo handling for CAN network interfaces */
|
||||||
|
|
||||||
if (loop) {
|
if (loop) {
|
||||||
|
|
||||||
skb = can_create_echo_skb(skb);
|
skb = can_create_echo_skb(skb);
|
||||||
if (!skb)
|
if (!skb)
|
||||||
return NETDEV_TX_OK;
|
return NETDEV_TX_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user