From patchwork Thu Sep 10 06:54:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 249569 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp479531ilk; Thu, 10 Sep 2020 00:18:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4KYV4o3Doh69Fr11Tx8mgQwd+VygyNoxOBntDUGtPUa5NmUM7nLDOG5y8MB/xdpp1vdui X-Received: by 2002:a17:906:7856:: with SMTP id p22mr7291192ejm.262.1599722321003; Thu, 10 Sep 2020 00:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599722320; cv=none; d=google.com; s=arc-20160816; b=c227TbLl1KPen3G0snrheZO5nyWk9QpH/2u9aJ6claJTQai7UnNG47kRWHUpFonQPa 1FUM7UHC07r6yAHhpQ0w7h5BrmrYdgRY/pegLLzK93jerPCE8DeLwTU81/Z6YZ+5xTwk zAqUsfa5pH0T/ydBXQ+95kxrmRjfFdVFovVxG6/v6U6iqcbqQjpboQrfhSQfgErg0aFO oakmejmvTXv2Ui5OTqzQzxhrSDjfc+PmSCR7yL9YWHH4XYiQNGE1IK3F2ZSQujAxiZx9 kjKpKrMdHBL6O6+ZDSrr7crwxoW9h2U8q55T6nnSfoqpQPP6yYV2+cIBrXHVT8b4Emgt YkhQ== 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=jkJnqXxLKchHWxEQRJwgWXXCncTXSd4DzK09wyk1JRk=; b=QqBT85ZPg1eZ0VKXXxrLHAvG4+YXevYbqWk9TzDt5zRGPgpuBfhHpnCXAAJrRbN5f0 ZHc/0GXWxzqWp5TvcooCKrP9krjvmih5Q5J6LOO69KR47rRr+673UwSVbs91mthmTsQ3 2cBME6UZD6p5M0a5DxOePk+t2c5mzBPReoLEjU0wmDbHdc8CckYN0O2DoV7eTrQiD77v kf7MhdKONxviSXxpMn0x5fi2Mlg1xidMKGulJFX0ecz7MhPm/XE2c9/+0YN4qU0WVtQk tP13wNGEiZBIKeaoLPI/rnVrwOJd+sdCULx1bRa69TVEq0fFnC/3gy19kCtLUavj3lAL 8eQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DYJqd1E6; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 x25si2899596edi.558.2020.09.10.00.18.40; Thu, 10 Sep 2020 00:18:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=DYJqd1E6; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1730280AbgIJHSb (ORCPT + 2 others); Thu, 10 Sep 2020 03:18:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729911AbgIJG4W (ORCPT ); Thu, 10 Sep 2020 02:56:22 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB965C0617BA for ; Wed, 9 Sep 2020 23:55:03 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id l9so4616050wme.3 for ; Wed, 09 Sep 2020 23:55:03 -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=jkJnqXxLKchHWxEQRJwgWXXCncTXSd4DzK09wyk1JRk=; b=DYJqd1E6K+y9QXkHGAIL5L1tXb7g2KMB7ljmLob/AWKP/B3CE0VlYJ+ZmLnA1JsU+W XzeKdAFsy3l664YPEVaTMsQyAxViTd7y/szoEgOR3KBWpL4pzwKQAlvQV69no2+57iAO sBvvSBR2DbNxQ6bNR8Lzl1VEXxN5F6qC0fQHRQ5TFDTnBG5oX1mfdBa2iCtghm17AxG2 1V8A2AfOYwH8cVYYPvNFSVtl154KCArcSZDn+zizPSCxWsvuJh+9xjvKibqeFwq8iOur LZ6006V9Brdrycp32HJO4D2kbIXGA4X8S9D03PGja1KroF6T4l90Ual4A97wbQRlGduW 3ifg== 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=jkJnqXxLKchHWxEQRJwgWXXCncTXSd4DzK09wyk1JRk=; b=Zg7PAPTIK5sGQc3Ioq4K9qUcOUE/Ya4Id0z0X8G4a84Py2NxzV1CEVgSvCt87HbhE7 g3g1+F1Ze+GOmYqJKmpCSNjL8lwc8pAbwkOqUN10hmF7xvrRCmigI5RjtohvqFGGOdbL KalAAGlUmyHu7pNG8cb7M+b11gFZCbd+Ux01u/IgedBVR02pkNcz0X0zmPDD1dhfx05P 9UactWRcUY4Zb/HC393xvGtAKvA4xviN0Vn4nLnycFGPMGrAqt6Ylv6kH54h8g+PbLml 4dJ5ZRLthR4YcMn7Nk3CQzzN2tVN3PxRP/OTVc5PYlfz1ftv4kgLzroylY4DMzkzg0TN RLlg== X-Gm-Message-State: AOAM530tDmuwxKL+MaP7S1+z4QcJaENShUMROIXzXb+fQDS6f2XpCB1v QpzH8IEGWuX7z7pLEvoNHUbixOq/w01StA== X-Received: by 2002:a1c:c90d:: with SMTP id f13mr7063757wmb.25.1599720902615; Wed, 09 Sep 2020 23:55:02 -0700 (PDT) Received: from dell.default ([91.110.221.246]) by smtp.gmail.com with ESMTPSA id m3sm2444028wme.31.2020.09.09.23.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 23:55:02 -0700 (PDT) From: Lee Jones To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Lee Jones , Johannes Berg , Emmanuel Grumbach , Luca Coelho , Intel Linux Wireless Subject: [PATCH 08/29] iwlwifi: mvm: ops: Remove unused static struct 'iwl_mvm_debug_names' Date: Thu, 10 Sep 2020 07:54:10 +0100 Message-Id: <20200910065431.657636-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200910065431.657636-1-lee.jones@linaro.org> References: <20200910065431.657636-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Looks as if it's never been used. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/mvm/ops.c:466:36: warning: ‘iwl_mvm_debug_names’ defined but not used [-Wunused-const-variable=] Cc: Johannes Berg Cc: Emmanuel Grumbach Cc: Luca Coelho Cc: Intel Linux Wireless Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 9 --------- 1 file changed, 9 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c index d095ff847be92..8e1e9ffbbf59a 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c @@ -460,15 +460,6 @@ static const struct iwl_hcmd_names iwl_mvm_data_path_names[] = { HCMD_NAME(RX_QUEUES_NOTIFICATION), }; -/* Please keep this array *SORTED* by hex value. - * Access is done through binary search - */ -static const struct iwl_hcmd_names iwl_mvm_debug_names[] = { - HCMD_NAME(DBGC_SUSPEND_RESUME), - HCMD_NAME(BUFFER_ALLOCATION), - HCMD_NAME(MFU_ASSERT_DUMP_NTF), -}; - /* Please keep this array *SORTED* by hex value. * Access is done through binary search */