mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
can: gs_usb: remove leading space from goto labels
[ Upstream commit f1a14714bf ]
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.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Stable-dep-of: 889b2ae9139a ("can: gs_usb: add usb endpoint address detection at driver probe step")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e58e41c25a
commit
3c5d346668
@@ -639,7 +639,7 @@ static void gs_usb_receive_bulk_callback(struct urb *urb)
|
||||
netif_rx(skb);
|
||||
}
|
||||
|
||||
resubmit_urb:
|
||||
resubmit_urb:
|
||||
usb_fill_bulk_urb(urb, usbcan->udev,
|
||||
usb_rcvbulkpipe(usbcan->udev, GS_USB_ENDPOINT_IN),
|
||||
hf, dev->parent->hf_size_rx,
|
||||
@@ -649,7 +649,7 @@ static void gs_usb_receive_bulk_callback(struct urb *urb)
|
||||
|
||||
/* USB failure take down all interfaces */
|
||||
if (rc == -ENODEV) {
|
||||
device_detach:
|
||||
device_detach:
|
||||
for (rc = 0; rc < GS_MAX_INTF; rc++) {
|
||||
if (usbcan->canch[rc])
|
||||
netif_device_detach(usbcan->canch[rc]->netdev);
|
||||
@@ -814,12 +814,12 @@ static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb,
|
||||
|
||||
return NETDEV_TX_OK;
|
||||
|
||||
badidx:
|
||||
badidx:
|
||||
kfree(hf);
|
||||
nomem_hf:
|
||||
nomem_hf:
|
||||
usb_free_urb(urb);
|
||||
|
||||
nomem_urb:
|
||||
nomem_urb:
|
||||
gs_free_tx_context(txc);
|
||||
dev_kfree_skb(skb);
|
||||
stats->tx_dropped++;
|
||||
@@ -1311,7 +1311,7 @@ static struct gs_can *gs_make_candev(unsigned int channel,
|
||||
|
||||
return dev;
|
||||
|
||||
out_free_candev:
|
||||
out_free_candev:
|
||||
free_candev(dev->netdev);
|
||||
return ERR_PTR(rc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user