Message ID | 20200706133341.476881-4-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp4781566ilg; Mon, 6 Jul 2020 06:36:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBW/BW3KJzumas3KFwIRXuBPtGnYYdwoggp4WWkkEa/ph4cUM+3YTOQ4Pg4EiQhOK0FHoN X-Received: by 2002:aa7:d285:: with SMTP id w5mr27483144edq.174.1594042589808; Mon, 06 Jul 2020 06:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594042589; cv=none; d=google.com; s=arc-20160816; b=JYb1FkkOhKYyagwu2FMRN+ei8EfEMHvrLigc79CYnPPzi32A2Hp5npOOdU6PVkzzMW h5MrJEf4jmMmR6qjkSsDQfpHpZbvrqgNX3DA7Akznr3BSlTDWVmu7EM/r4lN1nQcyhr/ RnnnEhx2tXibzD3vDCg/JAwU5rV7Ez3BAyh7Dact3tH2FAV9JB0AiEXqnGTuyaUopoMu RAPmwDgomOIZqr1IZ+8NXjySFziTuvaXGbuSf65yHlvW1V8ZsCNMoSTNvtbYud6tdWcu Fa9O3uzlTEqRgBoK1NnMPzoWRlz93lLNjLaS9H+pFcw71DARWGsK5AMcSlU2T0dKlUgw /xXQ== 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=Da1l6YoL6n3bU+jKdqHFRQjokYKz+vBJsiPCL0gGolc=; b=NFVOUO2F0d0wmA86hC8XnAdvhPYHPiNFjYSCO3mEOJcNqY8ClAh6qfQSalrXTCUhJB aFiVED7ZSauYw5ATote356wtwWfHDfmFF1z0y/Om/eB7w8CiHe+w3X7Qple4r/apfDK2 bmNf123KbmTvVXVkQu4EF4pG3SwAbGooljZpYyubeZqX4sbxGxwIfu7SKd0LzQssJ6x1 zEHiKcyTMeao1HMOQhD4xAsCBmSiPrTUzKKDLLmKQEaUpdFJvkEFNP0xQMc8a0GCwyeF y1yORBYp5waZ6SuzmzN0UCvFM5Us3b2RpojeyUbrVJt0OL8bspGPpe8pEK74yKGLzd+L 0buQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RLGORxri; 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: <linux-usb-owner@vger.kernel.org> 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.29; Mon, 06 Jul 2020 06:36:29 -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=RLGORxri; 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 S1729245AbgGFNdw (ORCPT <rfc822;patch@linaro.org> + 5 others); Mon, 6 Jul 2020 09:33:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729230AbgGFNdu (ORCPT <rfc822;linux-usb@vger.kernel.org>); Mon, 6 Jul 2020 09:33:50 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B68ADC061755 for <linux-usb@vger.kernel.org>; Mon, 6 Jul 2020 06:33:49 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f7so37934256wrw.1 for <linux-usb@vger.kernel.org>; Mon, 06 Jul 2020 06:33:49 -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=Da1l6YoL6n3bU+jKdqHFRQjokYKz+vBJsiPCL0gGolc=; b=RLGORxri111/tc0Sf0mSoMmtk2VwtRaHx86WcvDwSf1/2SpW+CMz1rr253sGKsrvUK uK22hb403LtPowLnwcDgpTXUfLiAzl7Ehka5hCIWxZK6tjJrXH/wyoVJgONMo5Vu0Nlj JOVU+F2Tj3eJNLPuV+P6fh0BlaNOe3kQimvqE0cUCtSdVVV++6OkgHXYK9XMdK6fCCjd iZNN4s0Qp4aWOgSDwztx886A+qDLbMjw6kR7XG7HJvjUgbm3GyBPHn2A4CX1p7G+5fJG RBZDMLNZSD0KaU+9REz4lAenuUrsvBhPyngaO9nQBPnshwM8sSoFKRwQJe7F/lZ+K4W/ mSlg== 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=Da1l6YoL6n3bU+jKdqHFRQjokYKz+vBJsiPCL0gGolc=; b=P4ljdu7oKxKYRVvYgERapwb1EtbQUpZDAAjF48mQZuVvsdtpCD7nsRlPQh+4+3Yxb9 sbha6Q/HjKbhxH+6grSICnSTCmFhB3+RAVKAQMnqv9+b0ym27tnQfTxWqgLikVoCggdm mco2O2mGbZTgif3ZZbeWrGd4loPVcuoSuC9L6kJc7keD5HQE1WDN4HfAQzbnAQeg6xMx 1hvxrZPF5WX+pu1wN0XoNVdFf8XiXI1+1Omdi0N+eSmNK6H9RRaUusZCZsENsPZ06VTX e1tXgIdPFxEMS0DEIEfsU2pEa6RRtL44kuv0ctEj/S3uiY9TjmVqfLy/NgPo65xrbM+7 a20w== X-Gm-Message-State: AOAM532nFDVOOdwbJjokG0XDrCQjrjiRhQC8u6bGz8QK36/jUaXDfjQM 9Qq77ikBjZNLnYGp+6qdpG+NVQ== X-Received: by 2002:a5d:504b:: with SMTP id h11mr47735862wrt.160.1594042428510; Mon, 06 Jul 2020 06:33:48 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id v18sm25416082wrv.49.2020.07.06.06.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 06:33:47 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Felipe Balbi <balbi@kernel.org> Subject: [PATCH 03/32] usb: gadget: legacy: printer: Remove unused variable 'driver_desc' Date: Mon, 6 Jul 2020 14:33:12 +0100 Message-Id: <20200706133341.476881-4-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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
Fix the final bunch of W=1 issues in USB
|
expand
|
diff --git a/drivers/usb/gadget/legacy/printer.c b/drivers/usb/gadget/legacy/printer.c index 57858f0c2b6c9..2cd389575084b 100644 --- a/drivers/usb/gadget/legacy/printer.c +++ b/drivers/usb/gadget/legacy/printer.c @@ -21,7 +21,6 @@ USB_GADGET_COMPOSITE_OPTIONS(); #define DRIVER_VERSION "2015 FEB 17" static const char shortname [] = "printer"; -static const char driver_desc [] = DRIVER_DESC; #include "u_printer.h"
Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/legacy/printer.c:24:19: warning: ‘driver_desc’ defined but not used [-Wunused-const-variable=] Cc: Felipe Balbi <balbi@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/usb/gadget/legacy/printer.c | 1 - 1 file changed, 1 deletion(-) -- 2.25.1