Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2149076lqb; Mon, 27 May 2024 09:18:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+JzQifK69t1KIAc31y8dJflf2not1KRBZxxUVg5vfB5oZROteyq36UC/FzDNvLSeJFCz72egOTcGlNJ/IbPkPxqmPHEtIG144xDn3Uw== X-Google-Smtp-Source: AGHT+IFJrgEwKi2YCj0YdKv/suVtmLyIQYMy29YOXgCiwoOQdL1RdkwaNFzkG5nzg7NjAjuVTWr0 X-Received: by 2002:a50:cdc9:0:b0:578:50ad:7579 with SMTP id 4fb4d7f45d1cf-5785192af43mr7092686a12.9.1716826701226; Mon, 27 May 2024 09:18:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716826701; cv=pass; d=google.com; s=arc-20160816; b=GYNNilwYq0i40P32N5ja0NtdyGQWD5BMvARYd6To1yqKMuMwec88KB1rCT1wSR5hLy VtFvopwO0/cAoOiCucK573m3VDjhPOt9dzuDlgF1trHD/obLfqL4fu2FDRtj/9gnSZ0y fbv6h2bQdUpT9BcyCgOU2g7BNca4iQ2tybJrMsoMrst0iZaGG/lqdYDi5IZ8BUgyHhlu lliEQEE0toZaCiuI2bWIeTM2f/BSbh+kcVt+5pTUE4Icep1t320I7VBf1xHiJiA08WCH vgdWZtx2KK+e9Jo7ti+Ulp44DxELipjeVLuLw4wmq6DRYM6WBwD5EBmO7JpmY2TlSjoh dH8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:organization:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=aWG2m7PFYdSO5Hlhn2u2j1cWwFXM6YhCegTaNj4jZFc=; fh=XWph7UcUiGXYNOMBTJyRencVLA9OZHTUiuHkw1tZ9Tk=; b=hxmygXW9EKupwzjghY2u/RAll4NPqooWGXt2FznFMu6M9QJ++68dGAJonrZGI8Kwhz ic8s1Sx97XfJnPb2IQnJUEjdOlQAGGDLlAHPzwcJay7fgK6onWlxYkFkjMwd6H0VAF4d +z4EwEiPD6hk92GURu+Be3sIXlSZVhTg+lZDlj0yC9NawCdeVVZDZRrKVwR4Oi0qiAkM 44qzR5ya6zOjcJwHrcFdn7HvBpLXJ38eXbgalG4CoHdGO08RgW3zIBLpvrdlFKhpqqZJ NgqAKRu2KM634ywhhcnKaUxeJurqAHtO0q3Jcud/bsQWR/BjhOt8k8TjUD67Bto4lppg rnMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=g1jf6sUe; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-wireless+bounces-8132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-578633b3b72si3281960a12.238.2024.05.27.09.18.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 09:18:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=g1jf6sUe; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-wireless+bounces-8132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F26971F213E8 for ; Mon, 27 May 2024 16:18:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DF2816B728; Mon, 27 May 2024 16:06:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="g1jf6sUe" X-Original-To: linux-wireless@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84F9416B723 for ; Mon, 27 May 2024 16:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716826011; cv=none; b=M7M9bYGMgaBi1k1fG9Zf1uFtiZEFNupzMhCtR5UzT3NM4jwVAqkWqVZ4/avIOrLE/L6gQQaeRD2c89KnGNYGFhZfOXNAzYQ3XsPk8yBmuLr2M+RD1vwTa6I2Tko+RyX54yO8NC8jvIS9nEqo4o3Or5C8OjlLD8ensWY0YtBS6lk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716826011; c=relaxed/simple; bh=GlDXrMmvyHp+ZQHsgykCIZT2Gm3bqfQZI9tYpK9ENqk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jdKEKK2YGUrzrlTeWrlC6daKyrZ1Al3rUVGaswZ9TO2lwggiyiMAhb44jgINA1mNhMa5IS8Js/D7gyzKP9TrOs2W8dqwpTEI86KgEid7nn5022SQvDZSec475LopHzBpKVzMH9WpAWUeF+8pFkGT+pWqnb7pqs/hXxK5iASJ8xM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=g1jf6sUe; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716826011; x=1748362011; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GlDXrMmvyHp+ZQHsgykCIZT2Gm3bqfQZI9tYpK9ENqk=; b=g1jf6sUejeDm43SQbL7LuBBbVF+cAN0erMo4T5TTFS61QkG+pHGWWEV7 Wix4NGIFXfQVf13QqfJBUW3XUaSYfQyPIJ0Y4zhAhwASpmEm3VdSWSy5E NsdIAUd8js53MSumYk+nH+JKVstpxq0h5BNicvtXFo/8W+0H/TXKviUfo mUdBVCFvkb5wzo0FSuFJ/DdsP8Sre49Db7n/AcVyP8Wx68qaGhgEQL5st Xs0UzZRrj/YmMX1akoJauSMlQIGagAE+5+2HVngvnLbxrLbD/FlzQYISk Bi5pRAfn8L4AsRf6oesH2MZkE7ccvd4kNmKFSiarh+wG2WrdOmgP5t2I4 Q==; X-CSE-ConnectionGUID: UAOJ+tlBSh2Bu4zUwH7zMA== X-CSE-MsgGUID: uX4DZWnvQvi8T/4YTIF1YA== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="13002121" X-IronPort-AV: E=Sophos;i="6.08,193,1712646000"; d="scan'208";a="13002121" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 09:06:50 -0700 X-CSE-ConnectionGUID: ToJqOvPxQh6H5mXKDLQGIw== X-CSE-MsgGUID: LJ+WAk3eTQeglDivHMj2FQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,193,1712646000"; d="scan'208";a="35407143" Received: from weis0040.iil.intel.com ([10.12.217.108]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 09:06:49 -0700 From: Miri Korenblit To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Emmanuel Grumbach Subject: [PATCH 18/20] wifi: iwlwifi: remove redundant prints Date: Mon, 27 May 2024 19:06:13 +0300 Message-Id: <20240527190228.5c589c7abed0.I3590c4ee0ee99d1b207852c32d25d326afb327dd@changeid> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240527160615.1549563-1-miriam.rachel.korenblit@intel.com> References: <20240527160615.1549563-1-miriam.rachel.korenblit@intel.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Organization: Intel Israel (74) Limited Content-Transfer-Encoding: 8bit Upon start, the different opmodes are currently printing: 1. HW rev, which is already print by iwlwifi 2. The HW name (e.g. "Intel(R) Wi-Fi 7 BE201 320MHz") cleanup things such as the hw rev won't be printed again, the HW name will be printed by iwlwifi instead of each opmode. Signed-off-by: Miri Korenblit Reviewed-by: Johannes Berg Reviewed-by: Emmanuel Grumbach --- drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 3 --- drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c index 516decc647dd..ed9487062093 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c @@ -1450,9 +1450,6 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, goto out_free; } - IWL_INFO(mvm, "Detected %s, REV=0x%X\n", - mvm->trans->name, mvm->trans->hw_rev); - if (iwlwifi_mod_params.nvm_file) mvm->nvm_file_name = iwlwifi_mod_params.nvm_file; else diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c index fed2754be680..92e48cff49de 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c @@ -1476,6 +1476,8 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) if (!iwl_trans->name) iwl_trans->name = iwl_trans->cfg->name; + IWL_INFO(iwl_trans, "Detected %s\n", iwl_trans->name); + if (iwl_trans->trans_cfg->mq_rx_supported) { if (WARN_ON(!iwl_trans->cfg->num_rbds)) { ret = -EINVAL; -- 2.34.1