Message ID | ed825d5fb1946530c310afca1d3f27e46da35f06.1700860759.git.philipp.g.hortmann@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp1548199vqx; Fri, 24 Nov 2023 13:31:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRgsekB+PH4mJitARmbpeayMP8ETr724M7upAUfoNUiaL9U+e4aidKd9GElD+4y5pChNvx X-Received: by 2002:a05:6a21:788b:b0:18b:d823:5362 with SMTP id bf11-20020a056a21788b00b0018bd8235362mr4794091pzc.48.1700861498908; Fri, 24 Nov 2023 13:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700861498; cv=none; d=google.com; s=arc-20160816; b=ZE/FJB9x94PUrJgP6ONUKUl8rTO5wBx0zH6AThnSAkBza1gT3bhtMRxzrSvb7HLYF4 ROkyVV3JH4NJ7uWzrzQ8MY09+bcKfO71F5pOeDnGOPMZc586c0iKgUbiccd0iOnnEoPb aR/6wv2SbdapcsuaLNLmql3lKnOk7KEY/ncLJfGvgsg+RuYhoy+cH21MbN+wd2AuyF5Q qmNepgigUNzunRfIZiS4UNq0XUbDKJZ4/kiX02Vda18EbIcEKFP7kmqYFrh2kzDTcxZG HF6uf5/AUFAdWcGz27/rrvMRjWRwrJG8ACuNvO+X0pjvibXT+4fRtRAmjIBvUXVPTBc+ D7mA== 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=lucCRVdFyECgtyRqDncojEzhqXxZuxdPkU1gxZh8Hdk=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=y1+8zwemWPB5R9sWOXVOePPGX0e8g3s/ZvdH3jqmvWuyYEcvHx4YZoESoX6RA5IBiL SoBZdekydeZ6UBUVasdvlIzvaKcGdk5MSRAiHZ1vhwyVYmPJWa3TVuAcsxt0V3U3Tj0C lnOBCAPr4WMU68H/OiNqo1Rv9eA9qh2N/ktexUeoeP1uEIehzBVJOR5pkWLOSu3P2d5r 4KxwI0mvF7cr3sZ1+9mutOCoX+9NcUCoxfK5Artpt+7S9o+fJHWSpoKV8MEGGlyFTrYO amRODD1ye0hf0TaqVfUuHSiDlkKHrtqzrmx+ORiJKALJFoeXUAe5f7/OZS1vMbWNz4GR rjeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LOnPrhxf; 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 i34-20020a635422000000b005c212bdc7d2si4130154pgb.611.2023.11.24.13.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 13:31:38 -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=LOnPrhxf; 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 E923E803B083; Fri, 24 Nov 2023 13:31:35 -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 S231940AbjKXVbW (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Fri, 24 Nov 2023 16:31:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231635AbjKXVbG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 24 Nov 2023 16:31:06 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBC771BE7 for <linux-kernel@vger.kernel.org>; Fri, 24 Nov 2023 13:31:11 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2c99593d13aso314961fa.0 for <linux-kernel@vger.kernel.org>; Fri, 24 Nov 2023 13:31:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700861470; x=1701466270; 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=lucCRVdFyECgtyRqDncojEzhqXxZuxdPkU1gxZh8Hdk=; b=LOnPrhxf97KA8njuQyb4D3o7Jj3FvjANsXmW/2m5EukFafvtxrAzbNOiv+wD01gUJT O/hBR6zQqe4h2VKow35CtqRx7sRVrHd0aKGUxl+39XJQfSqh9MZtsv9c2MeRanjs+i1M h7SWL2inVvgnUMXLMlkBCXhNKtoBTQjYN5uUtj+TxMMsJWNjqVfGjAEN0eo9AQ4BSr+b 6F/sXqIE3GZGQ7URfwcsLypntKjtyOAk7fqEV6Vfr2WJoNmaOeUMs8oss6wBG2OMDHPd poUCn96ehf31EqbCyhQyNxgUJgpfh9TToNws/Rk0KcBOufH6Clp3A91Aba7Ie9QNGhS/ n1Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700861470; x=1701466270; 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=lucCRVdFyECgtyRqDncojEzhqXxZuxdPkU1gxZh8Hdk=; b=iyQ2ZgYUAdwO38MchEkGUp8QEf6Eodn3nXYduwtXedA9rt8NrTJt/lca4ul+r77HGO j767YS3G3he5e0DXs6iP+MhDzFzoLBI13OWUR0zzMUCoBrJd9OcDccm1T9gTVWmOjQS+ 15fnjlSEfO4FmZJ/EUGK6RVP9h3ygrLo+eAdD6qKvw2KeT85NK2vSBaCpA2eJO3apHeX MxgsKioNShV8PTBIufwWKOIao67GGP+pEjlHOu5ILPr0lJPAedxNWc9MOHZ/B/HMTuqu 6vGYSwGQmSYcN5tXeDGRsoJz4yM6t+Uy+iFZpExuiSriWbybIU8Uf47bs0E3HwWKEYGb lwFw== X-Gm-Message-State: AOJu0YxCk43J9UTrT6SklziMB4hguOe3LN1Qo6lLJlvAtXmRQMEXr4cm u7qi4pzZo1wtd5p2pUz2tQ0= X-Received: by 2002:a2e:150e:0:b0:2c8:3406:6641 with SMTP id s14-20020a2e150e000000b002c834066641mr2393867ljd.1.1700861469951; Fri, 24 Nov 2023 13:31:09 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id si12-20020a170906cecc00b009fca9f39e98sm2538605ejb.26.2023.11.24.13.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 13:31:09 -0800 (PST) Date: Fri, 24 Nov 2023 22:31:08 +0100 From: Philipp Hortmann <philipp.g.hortmann@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 5/8] staging: rtl8192e: Remove unused function rtllib_get_beacon_() Message-ID: <ed825d5fb1946530c310afca1d3f27e46da35f06.1700860759.git.philipp.g.hortmann@gmail.com> References: <cover.1700860758.git.philipp.g.hortmann@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cover.1700860758.git.philipp.g.hortmann@gmail.com> 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: <linux-kernel.vger.kernel.org> 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]); Fri, 24 Nov 2023 13:31:36 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783482547132055699 X-GMAIL-MSGID: 1783482547132055699 |
Series |
staging: rtl8192e: Remove sending beacons
|
|
Commit Message
Philipp Hortmann
Nov. 24, 2023, 9:31 p.m. UTC
Remove unused function rtllib_get_beacon_().
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
drivers/staging/rtl8192e/rtllib_softmac.c | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 4e33a453f86e..8c7ad56d4402 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -2130,25 +2130,6 @@ static void rtllib_associate_retry_wq(void *data) mutex_unlock(&ieee->wx_mutex); } -static struct sk_buff *rtllib_get_beacon_(struct rtllib_device *ieee) -{ - static const u8 broadcast_addr[] = { - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - }; - struct sk_buff *skb; - struct rtllib_probe_response *b; - - skb = rtllib_probe_resp(ieee, broadcast_addr); - - if (!skb) - return NULL; - - b = (struct rtllib_probe_response *)skb->data; - b->header.frame_control = cpu_to_le16(IEEE80211_STYPE_BEACON); - - return skb; -} - void rtllib_softmac_stop_protocol(struct rtllib_device *ieee) { rtllib_stop_scan_syncro(ieee);