[PATCH v2] net: usb: Fix typo in code
From: Li kunyu
Date: Fri Jul 01 2022 - 02:47:38 EST
Remove the repeated ';' from code.
Signed-off-by: Li kunyu <kunyu@xxxxxxxxxxxx>
---
drivers/net/usb/catc.c | 2 +-
1 file changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c
index e7fe9c0f63a9..268c32521691 100644
--- a/drivers/net/usb/catc.c
+++ b/drivers/net/usb/catc.c
@@ -781,7 +781,7 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id
intf->altsetting->desc.bInterfaceNumber, 1)) {
dev_err(dev, "Can't set altsetting 1.\n");
ret = -EIO;
- goto fail_mem;;
+ goto fail_mem;
}
netdev = alloc_etherdev(sizeof(struct catc));
--
2.18.2