From patchwork Mon Jul 6 13:33:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 234879 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp4781590ilg; Mon, 6 Jul 2020 06:36:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw27nz3BFh8bdX8ejJ+gMGuqV+LeQkMCX+1oFhmGKjYy1Prs+CvBS5LC/HjfMTJCdPXr2zV X-Received: by 2002:a17:906:a01:: with SMTP id w1mr44107587ejf.197.1594042591125; Mon, 06 Jul 2020 06:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594042591; cv=none; d=google.com; s=arc-20160816; b=n+zrMFAlFlqiFNEPPhN1QUSJlQXyXxwNVK2skdWumZ0dwzylNEVfTYeDnN5TKTNO8N xmQ+IWfpBNkzCFcKPHNsWJJ+fM/VIGVT7j5pzpkARa5Iyj9aVSdAik/SHOY8FAoiby9A SwvdZCsTCsqo8wLnPKPIe2V2uO1KDkFLsQ9yPUQe8qSGko0jjn7bASqqb1RpwviXwcnT vgijEGkpk0p3qufjT8FApWZru7Vz5tpE9FPBdtc2UmDZyV6vzbwaXK3DBIkecL8RM1xi /EDCYDmxxO07b0X8J/tlYXxcVQxoLcl6rm0u5XsngknnuzAjPz2d+UzX9F76KYe4OhaW 1BqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2vBJeRBU9C8xa/2tDAV3EYv6FtdJQoWad8hFtUeL0Ic=; b=GrdHM+xOv25wf2T06s7lEdqIjazUdcmpvGuf150PktHFSzN39zEkeQEVzO5uoENg7f ZhL4qvJqaggv1Cf8KtqdavilX+TwMQO2Qn2FZH9uPjx6g3LkIDhcNROZ7ocve41G5XVc kGtzJg1t/GfhGr000heIAH89pbRQnpAxIuNQYMhCjzmUw7K1MKl3K3cc14AuloFKni4k OdtJnixLfYPWnQiVN5eb06hZaxZH8y9w+RbwETJAV/gfj1/JWhQwg91An1KH7tKBWPbL 2B4hpjnE0oIp0sodYhSubto4kiVvhQgMRRT0f4/tUHqNh/zR4q9L0gH5Eskd+W8p31WI cCPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G1JoL1Da; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si14470390edv.230.2020.07.06.06.36.30; Mon, 06 Jul 2020 06:36:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G1JoL1Da; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729303AbgGFNg3 (ORCPT + 5 others); Mon, 6 Jul 2020 09:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729232AbgGFNdv (ORCPT ); Mon, 6 Jul 2020 09:33:51 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD228C08C5E0 for ; Mon, 6 Jul 2020 06:33:50 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id j4so38523794wrp.10 for ; Mon, 06 Jul 2020 06:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2vBJeRBU9C8xa/2tDAV3EYv6FtdJQoWad8hFtUeL0Ic=; b=G1JoL1Daorj+JI1ZRbOm0BsITxlYPCPhqAXR8booNKNusooKx24v80Dl9rC+dERNjZ 1wDaFAseXrhBUGr/nbWDDAg/16r5MFQ9cICHpdVqoKiFiyiwWy/N6B6OmFsQ5NXGyjc9 YYrEKmJpZh64Xww7sSEG5VmFi3dtB3DobR83PDYZV5cTCGpwS6PSwpL/XGycHcTpzTWc KSpxBlGnI3+pIfmjl4b1LGJvFxbn3iOWQV/oCNEbTR+EPdh+h7R8qux7lxvt8n7chmMt 6dbFgzTJ0owILMLo/els7olUo+4e0lOaKULvAdId+iS9nhTGGBE4kGFBKvyANowDHPnf XWng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2vBJeRBU9C8xa/2tDAV3EYv6FtdJQoWad8hFtUeL0Ic=; b=HR2GeQlidjQqhtHIa8OBuagaO5VJAtYvQdBwtWtXsU3WnUpO1iS42jtija5Q2Diift POWoJ0Gt+tQN4gfl81GAZNk/k7yTDuDHo9gOH9WxyKDm5hS3j9Ls6dYh0BreKjrCaYV4 67G71ECGiLwADtAYrCzVZ98+Rm0Gh6BetPlUiLEQGTA//L8Clejalf9Ct6S6umHNlu6o uz94ydT+eeumVXoCsaEJj50SggLb+c1dO+eCjOgC8CiSPLN0cR/CAyiPvjKIh0zRgvD0 xwrSrVI00gz3fGY9E5EkvjVxe2tai5+GzB/hC1tlgbkV2T/HUGazU6+wszQBcJDYDi5s w+WQ== X-Gm-Message-State: AOAM532fgdnX8hrdMDfBDouxxvO8lTBWbmUjWdWWUj4hLh+GqW46nLqn IPLKQriOSNgHueq7GOYrxn3MAw2Y4ZY= X-Received: by 2002:a5d:5706:: with SMTP id a6mr13465102wrv.328.1594042429481; Mon, 06 Jul 2020 06:33:49 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id v18sm25416082wrv.49.2020.07.06.06.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 06:33:48 -0700 (PDT) From: Lee Jones To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Lee Jones , Felipe Balbi Subject: [PATCH 04/32] usb: gadget: udc: amd5536udc_pci: Remove unused variable 'mod_desc' Date: Mon, 6 Jul 2020 14:33:13 +0100 Message-Id: <20200706133341.476881-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200706133341.476881-1-lee.jones@linaro.org> References: <20200706133341.476881-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/udc/amd5536udc_pci.c:52:19: warning: ‘mod_desc’ defined but not used [-Wunused-const-variable=] Cc: Felipe Balbi Signed-off-by: Lee Jones --- drivers/usb/gadget/udc/amd5536udc_pci.c | 1 - 1 file changed, 1 deletion(-) -- 2.25.1 diff --git a/drivers/usb/gadget/udc/amd5536udc_pci.c b/drivers/usb/gadget/udc/amd5536udc_pci.c index 80685e4306f31..56258d076abc4 100644 --- a/drivers/usb/gadget/udc/amd5536udc_pci.c +++ b/drivers/usb/gadget/udc/amd5536udc_pci.c @@ -49,7 +49,6 @@ static struct udc *udc; /* description */ -static const char mod_desc[] = UDC_MOD_DESCRIPTION; static const char name[] = "amd5536udc-pci"; /* Reset all pci context */