From patchwork Tue Nov 28 20:43:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 170960 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp4214330vqx; Tue, 28 Nov 2023 12:43:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGv0Q+piyo/ScuH/H8Ui7R/y69VbUt90BS72cA9rcmo+mUFyvkPDkSqv2aoUOB139qhteVJ X-Received: by 2002:a17:902:d303:b0:1cf:876e:aa41 with SMTP id b3-20020a170902d30300b001cf876eaa41mr18184710plc.30.1701204220757; Tue, 28 Nov 2023 12:43:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701204220; cv=none; d=google.com; s=arc-20160816; b=oPHWpx2PifVvFs3hZQaNGejugCA4fakPk3OTFQYORDQt/EIzSNNECpXxp5IMuCjvPL 7FHz3ytLWSNr1uYx8/R6nvWaxr0wQ5LV5fU6Cn1LbbJaKP3ypSKBWK1478OA1fDBED0b Gj88AAw1uXhdQutNr1X5PRad9DO1wM0poxt7dYgDjOOkRm/l1VL/Umqo5lM9KxOjeWK0 SV5kykLtySj6QxqpvzyHrxbmiwLuYXjysMVM8a62peSBYAGKDwfw9pVml/uXfzsY1+OO QglnZf7mlEAYc7HG4ZGpJT0KXtjGmQda8J8sscfrWvSXlVl+1zI82ssQltqg20LfW54K Q1OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=q4jh3kAmz3NLMMvf/uU8x0FwkaNbHPqHSzrIk9a+VQ0=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=PkMKTMySI8G7t2Nz/LLRDb6TwYOwLq5ZtO0mHWwZILqU6Ba+biCcyOhxDkQvggD9pp nVM+v9qggsZ/LbdVIOK/ZQztWTX63ss/+adKY5B+Xg3SCKW3L+gZA3m1jAG7K6+lE5R3 4EcIxwAe7Z/Ads8+mp4SoXFgs8nJYP1prNPNAonld0q+AE7AtsNgYD9u56bTs81msF9O PEnmbDTdJiJd1FklYMVLqAEw4zseNaCbbG9L3SA87RCSw7kLGQ3wnnHsfVCSyPJccYs5 FwrvldY3FWFK1I2mSGtq00IONPdGHEheWQolBly9FVBXjjoBd5P3vIP0jAxy8bv1MtRJ vKnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="A/AIw8CD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id v5-20020a170902b7c500b001cff3cae848si2443972plz.37.2023.11.28.12.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:43:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="A/AIw8CD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1FD5C80A87E6; Tue, 28 Nov 2023 12:43:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346085AbjK1Un1 (ORCPT + 99 others); Tue, 28 Nov 2023 15:43:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbjK1UnZ (ORCPT ); Tue, 28 Nov 2023 15:43:25 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB751707 for ; Tue, 28 Nov 2023 12:43:31 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-32f8246103cso1553140f8f.1 for ; Tue, 28 Nov 2023 12:43:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701204210; x=1701809010; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=q4jh3kAmz3NLMMvf/uU8x0FwkaNbHPqHSzrIk9a+VQ0=; b=A/AIw8CDPELYNUeNNKE/A8r9dWCEmp+s0ImWveJqBr2xu/1cBCWjk6Sny4wLmz79qx P0mDbsYQFwDgYNnGaCE4irG9847ERrdLTGyPPAK+T+lgSNhWzUHpnaO2ihFiXesu6QVV 1yeMvJzRfiq+xeGSlWPGgSOeF0OnKSgrQ3TT+sBs2tkrfJUZnmOH4eDdN9iEZYN9wWSb 2n8AUksjcGOAtOL1HpjCGFn2TsH3l9DDxKUq1+78qrpdERCnU38kw2ygTH8yL8C0LAJG AgiRz8lbRbBHJIDeztAIL5IL3P0QH0RcZKJ1SgAChDfVC2aD1zPwwebZetIfgEOMQj1j c0Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701204210; x=1701809010; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=q4jh3kAmz3NLMMvf/uU8x0FwkaNbHPqHSzrIk9a+VQ0=; b=sbWvzn6PddA5SZ8tniOSzdr1qzYX2mBzKydd7DA7uxuuGJl4zKq6PMoqAbdXg17trr yrfTjku91PiYFXHwTbMf5EgjKaH4xRtXpHbtrFKF9v0RdrvYoMtoQK4JMuLiksBuhJ0F tYMgftcYyyA/ls+vLgxkNzGe+Hvg1ZbBkTRW2pX917f1q+WHRqGBxjlL7Ml+GktQiVSC FGFjycshtYWVZ7LPs/OnCLMfgBmQ/qWhhKVOHk4NPT237a3hfNZDLizdeGB5iSJMaeg2 8Z7AYfYDW92cUTT3YL8pP+lyFAif0CCg9dmcbbMpUg2taEsVf8M3wkqGsF6xu0pNEsDI QrTg== X-Gm-Message-State: AOJu0YzwjIpEGR6ds5y0QYJaeO1qez7/hxX4KsoSuRnuvhY8z28LO2pJ OgngpY39Q+ZZAu4jbzCAxx4= X-Received: by 2002:a5d:6c6b:0:b0:32d:e435:92c4 with SMTP id r11-20020a5d6c6b000000b0032de43592c4mr14272134wrz.0.1701204209925; Tue, 28 Nov 2023 12:43:29 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id s11-20020adfeccb000000b003316b38c625sm15994336wro.99.2023.11.28.12.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:43:29 -0800 (PST) Date: Tue, 28 Nov 2023 21:43:28 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] staging: rtl8192e: Remove unused function rtllib_send_ADDBARsp() Message-ID: <3d0b46b4cd2538a797743978c4c2daeec32f1f09.1701202700.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 28 Nov 2023 12:43:37 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783841917132863976 X-GMAIL-MSGID: 1783841917132863976 Remove unused function rtllib_send_ADDBARsp(). Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 7e4aeb10a2db..fab7ced1b8c3 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -186,18 +186,6 @@ static void rtllib_send_ADDBAReq(struct rtllib_device *ieee, u8 *dst, netdev_dbg(ieee->dev, "Failed to generate ADDBAReq packet.\n"); } -static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst, - struct ba_record *ba, u16 status_code) -{ - struct sk_buff *skb; - - skb = rtllib_ADDBA(ieee, dst, ba, status_code, ACT_ADDBARSP); - if (skb) - softmac_mgmt_xmit(skb, ieee); - else - netdev_dbg(ieee->dev, "Failed to generate ADDBARsp packet.\n"); -} - static void rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *ba, enum tr_select TxRxSelect, u16 reason_code)