Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp188341lqp; Tue, 11 Jun 2024 20:27:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUE6Blmrc6JpzgWlVLYYWWlx6zas+Zlq2BfpfedxIlGizgNbrZUUT759CeDhi0XvwHM7pvUsQ22iwIfUoK68Oy1mM9XeamTMEwbigsVNA== X-Google-Smtp-Source: AGHT+IGQVugHb7jZ+T8z+NCa1EcWL51OS2T26EcBLHwa5P4gOYlUX6gCbZwSM1VP5D600LNPFdug X-Received: by 2002:a05:622a:241:b0:440:5256:9a81 with SMTP id d75a77b69052e-4415abadcf9mr4913281cf.6.1718162840061; Tue, 11 Jun 2024 20:27:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718162840; cv=pass; d=google.com; s=arc-20160816; b=xaNa9l4+9j0ymEu6KseM63//l4NLX6mefMRV/BPVk/GltERuKxyPtmXtkKFGDFlYhF FncIpYIQsN90sBEnXmI/hQIArTDfTYWxZ62TCSn1fkaw9XTF5qa51aOiVPzuo06fY/cR LYE3WpouIn3r9HBRY0i8rLFUQe+wq1vKO1Wq1KbT/Rvv5P10JzWVSc6hW3qFkjWFKoT2 nJxGC7JG83Y9drD+xC8AjS9brURQPVwXxI3MXXRjSr6zrvtXobY9/yLlDt+Fkk8sVgFR 2GRpOv3xghwOUIH2GmsJR1tz+PaOoxJG8bCDcZxeVM2hAYyWrBJYGtOI0S6BRfJvwrt0 bvag== 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:dkim-signature; bh=IkUXIIgxnRHbQ4O/B4sWA8g/vJGypFpqBBuA1kYA6/A=; fh=zHcjMEXLTSmkPInVRNHWIMzgvfxzwJ4mV0SzLYCzfCI=; b=sXDNO/+eQ6QXormd2E2U4pujNvMe7ud6pU4RgkEpFcyt5UXuDYFSpDWG0UCOREMQ0u DOG3eUZraT2VA/QEc08QqA1lOgUcg7VpeYNwHJ57EMw5t6exDqPcfwu5or1uqsXu8LBf EV7ooplQAj9EXvDA88aTyyVaX27NrcTD1PqQjHL5bMs1FZE+JaNK6gLWt4bt2iL+Vw2i UlqNbFVIF25tBIlnVQvVUfaeVFsDyoYH0Xa7RhLNT2sRng657dJOdCz4fFV6EsYQM48a ce6exByK49sVa/UiEsYVY4Pq3hRRsx1D0dgLbaCUxQ7OQLTFiV9GqnPjILdxbPsQooiw MF2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=DqpE3oa0; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-210880-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210880-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-441579cb445si15058751cf.344.2024.06.11.20.27.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 20:27:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210880-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=DqpE3oa0; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-210880-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210880-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C590D1C23330 for ; Wed, 12 Jun 2024 03:27:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 525DB83CBA; Wed, 12 Jun 2024 03:22:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="DqpE3oa0" Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) (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 CDD4922094 for ; Wed, 12 Jun 2024 03:22:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718162573; cv=none; b=oYd8wIuWfgnoxHwHvxjS/1tghpYg45ZVEuaZuik+U8LOyM0L+ZiLxeoLM/Sbc4OZD7UtIwmbjeFd9EzEEEOSCFAcVUGeheeEGkm1NTt066WG+S2lz4q+7cemmAu4qTxvary9/UHe89GEFBQxv11+A8tQncB0kyyc/IBEC284qtU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718162573; c=relaxed/simple; bh=B6419FpNbp+/aBwLGzQozNilV2BWM00eMrzVMInnBmw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=owDjP54dCHiATTJlg7/ele0zZxxd6hZasfnSq9mp1Mx76HFEhT9Nvf322dMHZw5IDrPxiFU9hsQO3UMRAG3VJlYQXrxJuPco/6nou6XOyWPMMrwXNBe+ZiTOXSouMCprM3sTmUbWIEYkMS6Zn0P5UM+PQ+23opnNk1Gki9uIT7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=DqpE3oa0; arc=none smtp.client-ip=209.85.161.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-5b2ed25b337so952275eaf.0 for ; Tue, 11 Jun 2024 20:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1718162571; x=1718767371; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IkUXIIgxnRHbQ4O/B4sWA8g/vJGypFpqBBuA1kYA6/A=; b=DqpE3oa0leLXwa3u/k9c3NfkcN+9rgh0zjNw2FdAumEZtkReOStYoA4S6CbNOxyK/D 2kzpGc5SkGQFo440mpqJHc0VL5ftvSh1cRT3GhkGIb89kuo5tjiapRUgHlyp6OXabxO0 EkhJavIbxdphUfvcxsFO4cXzoT/DMaJW7Yczo8km5PV2VraGvFjOBXBOOZmI9NVpzcCN VoGS18bYt3HDIjislOdpG86JV6mEFtoY279Y2p2+G88GINBnXqia9OxGclFEKnkP85lO vJrqrALTQa4ELGIRQwEszcbpCGRIAJEWASxgh5E65BEZO4gFuSNP0A3K6FRBmeoxIZpC d4Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718162571; x=1718767371; 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=IkUXIIgxnRHbQ4O/B4sWA8g/vJGypFpqBBuA1kYA6/A=; b=cQsBIMP24jbAdTbNEN5hnPRo/OcpbN0z7CVv0wdOyYbuk10NruorYGOGUp3USuYfKj VoLPUm6cr9gP68SWsFYqQg2MYt3W2QSfsHngBj20OVEECsOYg7/IKFjxZkSP5Ch3Y20i dtQtHUD1zodYnLYu7skxloxrznfzjDPjCXpLZKp+qvkaei76jmTM/sfmjqrHLYrbfvXy M+cacJ0pXK/4J2CcTt4P8VlqQz9aFmS3pa73zR+4qYN5J2nte1XwPwRJPmE5v1dAPD3N qsUvQ55xdCpXh/LpsdzZ69y1oq6u2c08vwFV19qlVmMiLWa9QPilPauB2udiBA7K62wA jYfA== X-Forwarded-Encrypted: i=1; AJvYcCWC73xec9DONt6yEfUrMCeXItHPL9kAHrewdYKCk3EV5oDY+S7Mj0yMhw/vuAqMQ32CdstXP6KclzMtgs84FaKWgwjcrCIR+BMO2bcL X-Gm-Message-State: AOJu0YzAf0q+7EDBOaTt9hdnlI6Hw1Fv0cI2mhD8RtMaNg9Qx9ZH9K87 IhfrMkZLF6KKlVkH9zspWZehopQorK3sAHLRoHXoiG43E/bXrwcWz0ntSrC1JdRpe0IFs+Xf+jd WEus= X-Received: by 2002:a05:6358:6f18:b0:19f:3764:3c4a with SMTP id e5c5f4694b2df-19f69d35b19mr86669355d.8.1718162570962; Tue, 11 Jun 2024 20:22:50 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6e8e8a84949sm5635411a12.32.2024.06.11.20.22.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 20:22:50 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 21/24] Staging: rtl8192e: Remove parameter bIsAmsdu from rtllib_classify() Date: Tue, 11 Jun 2024 20:22:27 -0700 Message-Id: <20240612032230.9738-22-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240612032230.9738-1-tdavies@darkphysics.net> References: <20240612032230.9738-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Remove argument, bIsAmsdu from rtllib_classify() as it is never used. Signed-off-by: Tree Davies --- v2: Update subject prefix with 'Staging: rtl8192e:' drivers/staging/rtl8192e/rtllib_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index b6bf10dc1772..9a9bd8450354 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -228,7 +228,7 @@ static struct rtllib_txb *rtllib_alloc_txb(int nr_frags, int txb_size, return NULL; } -static int rtllib_classify(struct sk_buff *skb, u8 bIsAmsdu) +static int rtllib_classify(struct sk_buff *skb) { struct ethhdr *eth; struct iphdr *ip; @@ -607,7 +607,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) } } - skb->priority = rtllib_classify(skb, IsAmsdu); + skb->priority = rtllib_classify(skb); crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && crypt && crypt->ops; if (!encrypt && ieee->ieee802_1x && -- 2.30.2