Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1436164ybb; Thu, 26 Mar 2020 00:16:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuN9SzYsWEwwMfw4ZkFuo1QRA1kYK3YqaKOkV4B5oBvSXRcjoiRz3ZGUBGkIVBnN0+/ihPR X-Received: by 2002:a4a:8241:: with SMTP id t1mr4158098oog.57.1585206978214; Thu, 26 Mar 2020 00:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585206978; cv=none; d=google.com; s=arc-20160816; b=quKT1pbILeZmduRRBInihAFA3d0kPvV38nW7ken7ymiuqVbtZz1hyOoRsUFaMb0hxZ 4B8JlM1IlKCN01/F2vfpMhKl1KLSwacg9e2JKjXMCM9ux3S5jPWTK/ebV/J27gTwdWyJ 03KByjHzUkKnYElQ7T0JxkXwiUgO38pVCDydEhCjv9wUyxe58b7nhZ6VLIelGP7dvdDG 4j2G8T1k8kOqLzYnfEIQoHXz/4Pv9SmMHLydbfgf45KEXT8B7uTVYR789WAc4MEfXFc7 TXEqKl4OFR6OJ5jWIGS0lQ5VfmmgS7VkxIjm2/Ab9rYDS9AwFyc8QHFP65qbYbreqOFf 8xDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=uKXyOfT/z+UbKUrSYkJtngh+5yYLNofIF0StNXcAvaM=; b=oe6SL3Nd31pyuOOHhmiZLr0Y9eF2r7GStdRtSDWIuShHyp4qn+Qlez4Frb4BpQj+iv fFgxOk3FeMCfT+3vC482j1dw4L8XOoTc5ikXwx+z2HiS6euJb+lqykQJYSJw80uYSatg F1QZft798ECY8RPoMZ7DtrAyCRboIP2qkYV8PjaN4HACQSUSvH6qUpzaKPv/9bLW2GyO OfxJZmJCYXZclERnsGqlj5QWzM3GFG22fRuzOFsVMTx6vliW6Tvo2mWFh/J/wcXRgpAN FdZlhMEEqJFzUTIAi1K0Sxj+ovAgGfaigR6QmJDEC/vVuQru369VZctF8o7VCua6lpY6 o0Bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x74si720863oif.119.2020.03.26.00.16.05; Thu, 26 Mar 2020 00:16:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726590AbgCZHOh (ORCPT + 99 others); Thu, 26 Mar 2020 03:14:37 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:12137 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726014AbgCZHOh (ORCPT ); Thu, 26 Mar 2020 03:14:37 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B8AB893BEE20643D0650; Thu, 26 Mar 2020 15:14:32 +0800 (CST) Received: from localhost (10.173.223.234) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Thu, 26 Mar 2020 15:14:23 +0800 From: YueHaibing To: , , CC: , , , YueHaibing Subject: [PATCH -next] usb: gadget: fsl: remove unused variable 'driver_desc' Date: Thu, 26 Mar 2020 15:14:19 +0800 Message-ID: <20200326071419.19240-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.173.223.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/usb/gadget/udc/fsl_udc_core.c:56:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=] It is never used, so remove it. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/fsl_udc_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index ec6eda426223..febabde62f71 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++ b/drivers/usb/gadget/udc/fsl_udc_core.c @@ -53,7 +53,6 @@ #define DMA_ADDR_INVALID (~(dma_addr_t)0) static const char driver_name[] = "fsl-usb2-udc"; -static const char driver_desc[] = DRIVER_DESC; static struct usb_dr_device __iomem *dr_regs; -- 2.17.1