Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3192634rdb; Wed, 13 Sep 2023 05:12:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7xrxShzHew92g+QhDgXfq6bfZ/TKNawMTALoAxFUOXpr7uytZK2Zgp3hzUyEZBoI0HtpU X-Received: by 2002:a05:6e02:1070:b0:34c:a166:9866 with SMTP id q16-20020a056e02107000b0034ca1669866mr2032137ilj.4.1694607156170; Wed, 13 Sep 2023 05:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694607156; cv=none; d=google.com; s=arc-20160816; b=IdPwUj4AgY1kMt9PhZJE0BjwfXTQQcDSpd2hfrF5UxTwDCxT6NodvXJHTK+PBCXhiE uO777Bg1EuNhviCpFsecedjeHsNaF8e6IQt8mezziNa4aKwwG7keqPYj57TPBUTnB9gK AbsP9Zx53CnGTXBvwjhlETtmu9YA3qBm68oeDmtEAJRDHM1P8Luyi66aJcmhU/15Z6yq 6mlkFgcTVYGp1hjUtfnLW8aLCPAgpsPPAqhRWxy4hZGVTF32kmM8lwR/qld9/0B+DNi+ mq6KkUTw0DIX4cepFfPm48CX5bHXJkl8hqVaoq7K21z5F1N6WoZ4oGpaGwHkrkBoeCEE qUWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aYEXnEtusAl9HSuIPYICj3PsGMmQFV6FrZRL+nbipng=; fh=v78ykjHCzCVwxZtbRdthmW7wH6NM9QbVMtLidpf/uiI=; b=xfKoZWcdQqBZZqUQB6MyKO8cvlyuNzz3SHjS0gnytlz6N3UeguagRMVy9e0zL3CekV 9ufGfNikYu6H2wKFsD0geBb6Krt5ks9nJgczSiKr+i7fJuXydOAzFna/FgJAE/i5vO5B mmzStvXY0zeD8K7UAQ1BOlen3THJyvT96HPm73wXmB1uNUUcNSa+jE2O8agJurvSqvrL 9MhoIfOhxrTZ6LshRMzYdzOqmyhVg9k/TuXDK6mmYxWEb38g/qd3RawCbjqMQtpWoS8L Ams65rviJBfhK3ahf5Sh8k0tquw4mvq+gsnATbrvapl25NHlTvGT1XepxQL1KCTp3B8N vc0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aHn6r32X; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s21-20020a63af55000000b00573f76b1f75si9693326pgo.592.2023.09.13.05.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 05:12:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aHn6r32X; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 48A7080842D0; Wed, 13 Sep 2023 04:57:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240566AbjIML52 (ORCPT + 56 others); Wed, 13 Sep 2023 07:57:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240559AbjIML50 (ORCPT ); Wed, 13 Sep 2023 07:57:26 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DDBA19B0 for ; Wed, 13 Sep 2023 04:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694606243; x=1726142243; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CvzUfSNv78pjNKjSfaY6YOpDkJLGWTWfHCICJpoQyeU=; b=aHn6r32XWrdqF8ubZIUm1pPiwsxE3uabWvs4G7CSnMArj6Zp5OGsXwqk cYYoppgDsrFzEncyET1rxYYI/quLTC7zECrMf0D/v8oA9Ex55l5mo0sDd P5Ruse4s1IrqWP7JmX63DDa/Lg1oqBKOUd0r1o2Mt6iAMFjeP2iTOchKQ 8YTjDSjLulWqpUDCY3stcjBC6L1ytM8EViLYW3MiOwlNBTv6Ur+TsT4XB pfWv7s25cZee/Sb53+Oe5t5S6cVAdpU8aUfu1xgNldWLG/JDLVV0XUyml WnrLGyA7jmPuvVC2DTdMS2aelEoeuCGYVwA/Sdgg4CltoicdG5AR6wr5a Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="368903029" X-IronPort-AV: E=Sophos;i="6.02,143,1688454000"; d="scan'208";a="368903029" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 04:57:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="737470935" X-IronPort-AV: E=Sophos;i="6.02,143,1688454000"; d="scan'208";a="737470935" Received: from ggreenma-mobl2.jer.intel.com ([10.13.17.40]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 04:57:14 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Miri Korenblit , Gregory Greenman Subject: [PATCH 04/15] wifi: iwlwifi: remove dead-code Date: Wed, 13 Sep 2023 14:56:40 +0300 Message-Id: <20230913145231.56ff0569d16c.I455839fad0f4f05043815aee884fab9ec7323f7d@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230913115651.190558-1-gregory.greenman@intel.com> References: <20230913115651.190558-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Sep 2023 04:57:26 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email From: Miri Korenblit This condition will never be true. Signed-off-by: Miri Korenblit Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/fw/rs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/rs.c b/drivers/net/wireless/intel/iwlwifi/fw/rs.c index b09e68dbf5a9..8f99e501629e 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/rs.c +++ b/drivers/net/wireless/intel/iwlwifi/fw/rs.c @@ -208,7 +208,6 @@ int rs_pretty_print_rate(char *buf, int bufsz, const u32 rate) return scnprintf(buf, bufsz, "Legacy | ANT: %s Rate: %s Mbps", iwl_rs_pretty_ant(ant), - index == IWL_RATE_INVALID ? "BAD" : iwl_rate_mcs(index)->mbps); } -- 2.38.1