can: etas_es58x: add missing a blank line after declaration
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>
Sun, 24 Sep 2023 11:06:48 +0000 (20:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:58:59 +0000 (11:58 +0100)
[ Upstream commit 4f8005092cafc194ba6a8e5f39626ba0b9f08271 ]

Fix below checkpatch warning:

  WARNING: Missing a blank line after declarations
  #2233: FILE: drivers/net/can/usb/etas_es58x/es58x_core.c:2233:
  + int ret = es58x_init_netdev(es58x_dev, ch_idx);
  + if (ret) {

Fixes: d8f26fd689dd ("can: etas_es58x: remove es58x_get_product_info()")
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/20230924110914.183898-3-mailhol.vincent@wanadoo.fr
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/can/usb/etas_es58x/es58x_core.c

index 0c7f750..5e3a72b 100644 (file)
@@ -2230,6 +2230,7 @@ static int es58x_probe(struct usb_interface *intf,
 
        for (ch_idx = 0; ch_idx < es58x_dev->num_can_ch; ch_idx++) {
                int ret = es58x_init_netdev(es58x_dev, ch_idx);
+
                if (ret) {
                        es58x_free_netdevs(es58x_dev);
                        return ret;