diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-07-06 13:04:45 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-07-28 08:52:03 +0200 |
commit | a2002f455c0e1f1c8802e7bdafe370d47d4328de (patch) | |
tree | daf7c87dac843207f0fd4e9bf5c7559c99616655 /drivers/net/can/usb | |
parent | can: gs_usb: gs_usb_probe(): align block comment (diff) | |
download | linux-a2002f455c0e1f1c8802e7bdafe370d47d4328de.tar.xz linux-a2002f455c0e1f1c8802e7bdafe370d47d4328de.zip |
can: gs_usb: gs_usb_set_timestamp(): remove return statements form void function
Remove the return statements from void gs_usb_set_timestamp()
function, as it's not generally useful.
Link: https://lore.kernel.org/all/20230718-gs_usb-cleanups-v1-3-c3b9154ec605@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb')
-rw-r--r-- | drivers/net/can/usb/gs_usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/usb/gs_usb.c b/drivers/net/can/usb/gs_usb.c index 966e00ea768d..1e08d38b0f96 100644 --- a/drivers/net/can/usb/gs_usb.c +++ b/drivers/net/can/usb/gs_usb.c @@ -520,8 +520,6 @@ static void gs_usb_set_timestamp(struct gs_can *dev, struct sk_buff *skb, timestamp = le32_to_cpu(hf->classic_can_ts->timestamp_us); gs_usb_skb_set_timestamp(dev, skb, timestamp); - - return; } static void gs_usb_receive_bulk_callback(struct urb *urb) |