Commit f1a14714 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: gs_usb: remove leading space from goto labels

Remove leading spaces from goto labels in accordance with the kernel
encoding style.

Link: https://lore.kernel.org/all/20230718-gs_usb-cleanups-v1-1-c3b9154ec605@pengutronix.deSigned-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 07382e6b
...@@ -645,7 +645,7 @@ static void gs_usb_receive_bulk_callback(struct urb *urb) ...@@ -645,7 +645,7 @@ static void gs_usb_receive_bulk_callback(struct urb *urb)
netif_rx(skb); netif_rx(skb);
} }
resubmit_urb: resubmit_urb:
usb_fill_bulk_urb(urb, usbcan->udev, usb_fill_bulk_urb(urb, usbcan->udev,
usb_rcvbulkpipe(usbcan->udev, GS_USB_ENDPOINT_IN), usb_rcvbulkpipe(usbcan->udev, GS_USB_ENDPOINT_IN),
hf, dev->parent->hf_size_rx, hf, dev->parent->hf_size_rx,
...@@ -655,7 +655,7 @@ static void gs_usb_receive_bulk_callback(struct urb *urb) ...@@ -655,7 +655,7 @@ static void gs_usb_receive_bulk_callback(struct urb *urb)
/* USB failure take down all interfaces */ /* USB failure take down all interfaces */
if (rc == -ENODEV) { if (rc == -ENODEV) {
device_detach: device_detach:
for (rc = 0; rc < GS_MAX_INTF; rc++) { for (rc = 0; rc < GS_MAX_INTF; rc++) {
if (usbcan->canch[rc]) if (usbcan->canch[rc])
netif_device_detach(usbcan->canch[rc]->netdev); netif_device_detach(usbcan->canch[rc]->netdev);
...@@ -818,12 +818,12 @@ static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb, ...@@ -818,12 +818,12 @@ static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb,
return NETDEV_TX_OK; return NETDEV_TX_OK;
badidx: badidx:
kfree(hf); kfree(hf);
nomem_hf: nomem_hf:
usb_free_urb(urb); usb_free_urb(urb);
nomem_urb: nomem_urb:
gs_free_tx_context(txc); gs_free_tx_context(txc);
dev_kfree_skb(skb); dev_kfree_skb(skb);
stats->tx_dropped++; stats->tx_dropped++;
...@@ -1354,7 +1354,7 @@ static struct gs_can *gs_make_candev(unsigned int channel, ...@@ -1354,7 +1354,7 @@ static struct gs_can *gs_make_candev(unsigned int channel,
return dev; return dev;
out_free_candev: out_free_candev:
free_candev(dev->netdev); free_candev(dev->netdev);
return ERR_PTR(rc); return ERR_PTR(rc);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment