Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2484705ybd; Mon, 24 Jun 2019 07:14:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyV4PvuqFXe+w3KmvISSUN0p4vEnSvhr1IV9MQPqiWsWRy2ok/1jmkW7M6YHZZZxSmVZlsy X-Received: by 2002:a17:902:2a68:: with SMTP id i95mr150593129plb.167.1561385668268; Mon, 24 Jun 2019 07:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561385668; cv=none; d=google.com; s=arc-20160816; b=cMAJl4zmFDkGhyzcKOkAdFpNstDP8xXJW4nwMwzMY1WfDoMCAnrM25ynw+qN9SmxsC IrOvi9JETlj8yPcxGpIGaH7R+spjKw71HGfclO5bAQD6r+lqXa443R8sxyEjHCyY224S y+Dnz5J/zNa8OONB+jVf2OQ56e2ftlYTv6wRXEYVIxZyUqmndupXFR+kDW3QSzncuoBe zET69oKWKOhrMYz0u/ZeeD9Eg6nFurZhKVxAkoRDsIY/WhF69ypEs1z240eMbXPqBezn IRBFRDQYfQdyDAenHdKAtb3RXCjOvcH4yvwXECUFuTGoi69lGUeElICQPbjfRNQh5gcx w70g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=xkYBtGl7NpjaCcBmnzfna5DlB5tKFFKPT2QiRjATd9M=; b=0GdHvhUQqhjpSp7G4xFjeLfl8dccg1nwHOc53x0WMoR6N8CA982CJqqtLAbployi9q nfYE40xMx98jZwZ7jlTL9zPTtZeT9igoJ851oiIqq/bIh34gBpH1GxfiDo8oK4a8wqDP qjbu5/iXHWp0uX2BEiichIGr7ozlKMC44VhztOx78JYxD1CHr3Tc03r+7U1jgeYvGyMz RY365qKF6+bJ7Nved8ggIBnZ3PggbwrMZbe/yYZA7CBBjKfxrD7Ry+0mOyjSGVUTgp85 Qkk+uSwipzxtZATkKFkYjO8T/FV+9dLq6fzVISuKbRa5l4wdcY8afgzBhr+IAdgVus3m h95g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y9x1+Nca; dkim=pass header.i=@codeaurora.org header.s=default header.b=U6n0smKx; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 l9si8557376pgp.429.2019.06.24.07.14.13; Mon, 24 Jun 2019 07:14:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y9x1+Nca; dkim=pass header.i=@codeaurora.org header.s=default header.b=U6n0smKx; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729049AbfFXNWh (ORCPT + 99 others); Mon, 24 Jun 2019 09:22:37 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39162 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728736AbfFXNWh (ORCPT ); Mon, 24 Jun 2019 09:22:37 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0736E60F3A; Mon, 24 Jun 2019 13:22:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561382556; bh=/MhzFPrOnJsUwbR+A+aF2D34pmO0qEliUUfT/mjNyNs=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Y9x1+NcaLtpIN7gPioOPg/8z8wwHa2FSqJtAgONCDtRTeyGCQZ+o9HPn4XkND86hE raV9/MPJ8zG4zkt2IK+lkHMTE3Ja+9vBME185EMC03/xg+yT9Ll7ZpZbmdl34sYY4C patxw1w+WtWHvmIhxnCmxqxzj2YzZLr+AUReCzGA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7D6B7615AD; Mon, 24 Jun 2019 13:22:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561382554; bh=/MhzFPrOnJsUwbR+A+aF2D34pmO0qEliUUfT/mjNyNs=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=U6n0smKxOy260RvyjFc69NoBQy+7qpriFKg9Nwkc5Kx9v4vPaoSVIeKW7gRhbeofr n1kShrSS+zkt0YsbIeA4sbwHG+O7mIiTRVdSo9vHVgriFsCGcaQ5BZBwJafPRJOlPA /oVPB1KWtQnXL0wA33EoYCLN+WX3ZV9uT0nZGpCo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7D6B7615AD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wl18xx: Fix Wunused-const-variable From: Kalle Valo In-Reply-To: <20190614171713.89262-1-nhuck@google.com> References: <20190614171713.89262-1-nhuck@google.com> To: Nathan Huckleberry Cc: davem@davemloft.net, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Huckleberry , clang-built-linux@googlegroups.com User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20190624132236.0736E60F3A@smtp.codeaurora.org> Date: Mon, 24 Jun 2019 13:22:35 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Nathan Huckleberry wrote: > Clang produces the following warning > > drivers/net/wireless/ti/wl18xx/main.c:1850:43: warning: unused variable > 'wl18xx_iface_ap_cl_limits' [-Wunused-const-variable] static const struct > ieee80211_iface_limit wl18xx_iface_ap_cl_limits[] = { ^ > drivers/net/wireless/ti/wl18xx/main.c:1869:43: warning: unused variable > 'wl18xx_iface_ap_go_limits' [-Wunused-const-variable] static const struct > ieee80211_iface_limit wl18xx_iface_ap_go_limits[] = { ^ > > The commit that added these variables never used them. Removing them. > > Cc: clang-built-linux@googlegroups.com > Link: https://github.com/ClangBuiltLinux/linux/issues/530 > Signed-off-by: Nathan Huckleberry > Reviewed-by: Nick Desaulniers Patch applied to wireless-drivers.git, thanks. 608fd7214323 wl18xx: Fix Wunused-const-variable -- https://patchwork.kernel.org/patch/10996073/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches