From patchwork Fri Jul 1 06:47:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li kunyu X-Patchwork-Id: 586517 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C15DCC433EF for ; Fri, 1 Jul 2022 06:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234723AbiGAGrd (ORCPT ); Fri, 1 Jul 2022 02:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233921AbiGAGrd (ORCPT ); Fri, 1 Jul 2022 02:47:33 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C8B8F33A3F; Thu, 30 Jun 2022 23:47:31 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 0B6E11E80D21; Fri, 1 Jul 2022 14:46:03 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naHQISC-u5cj; Fri, 1 Jul 2022 14:46:00 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: kunyu@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id AC3A61E80D09; Fri, 1 Jul 2022 14:45:59 +0800 (CST) From: Li kunyu To: gregkh@linuxfoundation.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, kunyu@nfschina.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com Subject: [PATCH v2] net: usb: Fix typo in code Date: Fri, 1 Jul 2022 14:47:23 +0800 Message-Id: <20220701064723.2935-1-kunyu@nfschina.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Remove the repeated ';' from code. Signed-off-by: Li kunyu --- 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));