Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp151514lqf; Fri, 26 Apr 2024 02:34:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnMpN2ZJNEr0iYfuHJU3IPn6fuo3e7yHOMaAKhTfCrOAHR0BXP7RtpVwT9I3OSEeFuAuuiUqopFL02/YDrsmO1O8j5cozF8k/TqmR+XQ== X-Google-Smtp-Source: AGHT+IExwIyoKo6DF58PheKOslK1V1PyD3u1l45Fwzfzwos0QWBd+qICkomciSeSrs76rOACqVD4 X-Received: by 2002:a05:6a20:9743:b0:1ad:7fab:642 with SMTP id hs3-20020a056a20974300b001ad7fab0642mr2003272pzc.3.1714124041681; Fri, 26 Apr 2024 02:34:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714124041; cv=pass; d=google.com; s=arc-20160816; b=bG9U6nwL5kU2iNEMPD3piM530pMyoJpRdAIoYEfFDK2P4EbneVUHDxoRxn0mDAehWM Ig22hgVWPId68fDmLLD0y5ADkrcLaUDqPq+YP/vN+ICErFUVimbYCLjbzpTwY6jQa0c3 FZSFCxm56AVqW10wrXevnq4nJs29fu3MLv0+oRsTinuxB9O3xvDEPm6ga6NJ2USzolIv ukKM53BcTr7H31aMFlwqTVCEYWfgpFtYbo03iDN8oHtXsZHgcDU0Lff5aD0kXyXcnXu7 q5ogvvcE6n+O+BmiCXxz4IG8lSYgLZCs3YeKER/P33y4R3dWRhWVInU85z26o1HvGVol s/Hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=KB47YEskg0YsuvufIWkNOdLy1BfCNPRDkJhRY5gUXJc=; fh=A2HXO/QGTaETasDyECFMBSVwSFhUf8v4qFkKm16fnMk=; b=FwUgw76GuyKxju3it228G8WY/sC6koj5Lvvtl6lFH/zhfl5x1lX9LngCxsxIRI8YUR /58LAhw0j0D0Jifo+ien3FaAs4VltVbQx11c6Kmqf/zmr7sWdVrO8pI4aKRcUDAolBs3 cl3un34rgwIdq/kjmznc7toUcpV3XYi8dzqw+l9wTylg+YvppbJoAoxzuWya43Lw9Wyx Z3NfOv63fg5gPKyjc9MLan8cpcK1YjvwL8kqT21jeLc+boPmaUsn5xtIzrByzjL1Qoiv j0ZXJ5AXBOd2vYNyfvNlZuVqmmH88zUSqXAqAJ92KZAHpW+XUAr2ndJ3sZenYwdBY3TT BczA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-6924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6924-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t12-20020a63eb0c000000b005cdfb84720fsi14793277pgh.857.2024.04.26.02.34.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 02:34:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-6924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6924-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A1234B232CD for ; Fri, 26 Apr 2024 09:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3315113FD82; Fri, 26 Apr 2024 09:32:10 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8634B13F45D; Fri, 26 Apr 2024 09:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714123930; cv=none; b=BwswTP3G8o/H0kmNlx7F6kb6gxZha1gPb8H68ZRJs4XIMqPmRRUMC6w/lkDmPO9M7nTKhxo8Xke42pK6lrTlMhpLP6jte6kEsDazOq2YxAg9A4T/6NC9GKtlN/hQkk6fnpvSfbv5X5npCk1PblpMyhPOVstHm2IK856C3speCKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714123930; c=relaxed/simple; bh=lrNuWaHK5BdyB8pVP8kuJCm68c1uOozItiB7SfFwPIg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N0hLe9uZCPOZCJ2cNcknzQKmD6DBgFjpPSJfK/JcOUmvzlWx1Z0gL9/Ljt/la5Kc3gGbpb/bXYRohggcjkvrH5npheT9qsFb7C2HBARCcUmal9PhAIMi6G3JRz7G2q2jO4uwnZYSmLubqvydyYtM8y97/04JR3s20mE5/5Zasd0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a55ab922260so262259266b.3; Fri, 26 Apr 2024 02:32:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714123927; x=1714728727; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KB47YEskg0YsuvufIWkNOdLy1BfCNPRDkJhRY5gUXJc=; b=iPOnWxxuSlPgCS/PaJSkO8d6TJCc2emkhnJ3PfRlMJZfdmldfbjkIvoktQnT72lONP 7cR3DV3wDXuGIczdYxkjallA+u4xPSJsdDtuf7XQ5kMRYXeJmN6RLwH1p1WiWcjufD5d uq9mpRtvi7ce7WY2fHDqo34CdkRmebDT0a2wF7dWxoA1xS4CFquEnWE9heqac7ncypbe 84wmudoyhksFQ++tXSDpOIgB2iOkGTZGKfcKE6Y43Oft0xFysAtKqfgni9QDcnBR97nR DirHrj7R99hb0L8wAru+YVlMoU9+5jPs86HrN7tDUVF4ZSFQSirnBrhOk/DdGGYxs0a9 qUkw== X-Forwarded-Encrypted: i=1; AJvYcCX9x43ccFexcW/+UoDTK5DrJYvcP1QftmtpjXosAIQyZjUXyueHHGj/9unduu2WFeOcyZlmZstCTEgXlX4t5Ns7xSaIs9SKrObxrfes X-Gm-Message-State: AOJu0YzaFRLWs5QbiuoOgdZd5m6F3udSbYiZKFyQkqZlghvCDhXzKQyv lc6QUfgpsG38fidYCf5GPmgionG2NakUIGDI1wCJej9ix2M+Vidr X-Received: by 2002:a17:906:c12:b0:a58:9e89:7d91 with SMTP id s18-20020a1709060c1200b00a589e897d91mr1406081ejf.42.1714123926789; Fri, 26 Apr 2024 02:32:06 -0700 (PDT) Received: from localhost (fwdproxy-lla-009.fbsv.net. [2a03:2880:30ff:9::face:b00c]) by smtp.gmail.com with ESMTPSA id z12-20020a170906270c00b00a55895c7f50sm8897398ejc.151.2024.04.26.02.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 02:32:06 -0700 (PDT) From: Breno Leitao To: kvalo@kernel.org, Igor Mitsyanko , Sergey Matyukevich Cc: linux-wireless@vger.kernel.org, kuba@kernel.org, Johannes Berg , linux-kernel@vger.kernel.org (open list) Subject: [PATCH wireless 2/2] wifi: qtnfmac: Remove generic .ndo_get_stats64 Date: Fri, 26 Apr 2024 02:31:49 -0700 Message-ID: <20240426093156.2002258-2-leitao@debian.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240426093156.2002258-1-leitao@debian.org> References: <20240426093156.2002258-1-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Commit 3e2f544dd8a33 ("net: get stats64 if device if driver is configured") moved the callback to dev_get_tstats64() to net core, so, unless the driver is doing some custom stats collection, it does not need to set .ndo_get_stats64. Since this driver is now relying in NETDEV_PCPU_STAT_TSTATS, then, it doesn't need to set the dev_get_tstats64() generic .ndo_get_stats64 function pointer. Signed-off-by: Breno Leitao --- drivers/net/wireless/quantenna/qtnfmac/core.c | 1 - 1 file changed, 1 deletion(-) PS: This is compile-tested only due to lack of hardware. diff --git a/drivers/net/wireless/quantenna/qtnfmac/core.c b/drivers/net/wireless/quantenna/qtnfmac/core.c index 0aa4b1d14809..825b05dd3271 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/core.c +++ b/drivers/net/wireless/quantenna/qtnfmac/core.c @@ -202,7 +202,6 @@ const struct net_device_ops qtnf_netdev_ops = { .ndo_stop = qtnf_netdev_close, .ndo_start_xmit = qtnf_netdev_hard_start_xmit, .ndo_tx_timeout = qtnf_netdev_tx_timeout, - .ndo_get_stats64 = dev_get_tstats64, .ndo_set_mac_address = qtnf_netdev_set_mac_address, .ndo_get_port_parent_id = qtnf_netdev_port_parent_id, }; -- 2.43.0