Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1466079rdh; Fri, 24 Nov 2023 13:32:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHCe2/KWeNMkigXltVXgqX117DxbBokHKI6SD9xzAHzzw+jmv+sXWInOoNt4wXfB29bOgk X-Received: by 2002:a17:902:bd85:b0:1cf:6f62:88e6 with SMTP id q5-20020a170902bd8500b001cf6f6288e6mr4214560pls.37.1700861527777; Fri, 24 Nov 2023 13:32:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700861527; cv=none; d=google.com; s=arc-20160816; b=XG6Qkp6QETnjRsxi87dAL0LGI6vtlYDVEF6baRzX2ArlHJXPdqL5J/j+cIg+2ux408 6dAaatg4AWfVwfqtU/j1cJWXRTyEIe2BEBj/mk7cnktOlLEuc6TDZyrFY6DGadqj+Yh8 7r7ifjGt90QQOdXFcuQag/eOYW+iHLJ4RwvcoIoII900dMB+0Qujo64B/LndkL7au4/k Lfkd8LEl2+7HNWLrEWWcPbTwgRQE8XXOQ2MiGofSKxWIp/herf398qp9nKgPwfar+mmM TcopM3IUHYrpr7sUujt0htMe/qbIbu5/w77xMOx4hftUDeJDMMWU9Idb4hMQzPc3g+uj WiDA== 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=Xf+BvI0HCoud7UZk/jd1+lnn/zb5QtR4nqSkftIg4Lc=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=hpt2kNxXKx+gNiF9cSYshB6kvwXahz9ZO//+u8URrq9cHZfDiVSgRfzJXKpcKPDrer bQi0otjawKn/BImwqsBBQ75z2YTZmuaaUqwSA2nwqrOO94sEjnwWkE1YVQrGggm1cRRQ D+Ksl0gpAjzKdhG6VA1ENciJTI48YzN+xv9nEeAnkKJ6Egi2fYy9K5pTz6UHLzFvrSf8 rvEhi0G/NVK1ogo8plFfuSJaI9JWYci/pp+VoD/vs1CfYXYewagMVRPxyfGeSiK0q/ZN uglUPMdSvphH18BysNdn+tauxRwVa0yNui09T2dQ3IT7KIF1CIhL49Hv1et8a0+oCtEU XIYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PXvrEAj3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u11-20020a170903124b00b001cf7c07be54si4349880plh.507.2023.11.24.13.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 13:32:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PXvrEAj3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 5D73180EF47E; Fri, 24 Nov 2023 13:31:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231770AbjKXVbP (ORCPT + 99 others); Fri, 24 Nov 2023 16:31:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233005AbjKXVa6 (ORCPT ); Fri, 24 Nov 2023 16:30:58 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 981D519A6 for ; Fri, 24 Nov 2023 13:31:04 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9fdf7baabd9so72457266b.1 for ; Fri, 24 Nov 2023 13:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700861463; x=1701466263; 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=Xf+BvI0HCoud7UZk/jd1+lnn/zb5QtR4nqSkftIg4Lc=; b=PXvrEAj3Qz8EmASthMqKBA/YnPfHbLZYh+HGfKdmJCROJUcAhCLZnKhDBwT2DDVI0Z A5N7Np5adrGYFLtSe8q3Ah8q+otz7YmAEM5Kmt7GnnZ8YxKb7gC4uxQpC4vjRJV1ovOW gVXii4mWNxcgUPTE+lmZTcKNrYnxRTselB3Lg7Lp8jXwu3Y7M5f5qGIlPTyomF7oOS/i QERI7tbVg5+C9B21gicw+eVgdsy4FgysXau/8KOmdeqnmdLu9WGxM+dr5MCPxuKwL1XS OjXkLf6+KpvFIBHIZNrQ/jKXv0LQ2iLHcFjXJKiKRvBU0X7dtsNkxAQi54wAisG9enwB sYeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700861463; x=1701466263; 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=Xf+BvI0HCoud7UZk/jd1+lnn/zb5QtR4nqSkftIg4Lc=; b=N/WEALV4Gp3MKIiRO1mnWxux6LcQf71N5edn0lKDyfFf2Apb1xIBXChDAjOV/rqA2i T0DPPTPBEdpVfyPrJcT539BxXNmI33jXZj+DVw4ihbK84JJ3stwolB6QF+1+bcW2CwcS /+Sqs4PdLgLQIOTY6Jv4aufGMmzvozGhdwCNZA47bce8ElUU17J2h03TgSkjStXXHR2G FJJSf04O5CVmVQL6XrM3K5jbPxtGFZq8GOJjqX05PZ/YptOQoYQny2fRvIozrGXuG3lM RUb+l4YYK7U8nF+1kKDc8pMRTd1i9OhuYSTsUW0PTyFDRpwAa8sHk4jUTAETxJuQpzXc yMog== X-Gm-Message-State: AOJu0Yy54eOi04XGtb72uOs9iNkhDtxPAoIxwGAg+F8a/IqyzSyzvcRp 7w9Rj3s/ayDZcwlyZmKPdSk= X-Received: by 2002:a17:906:5812:b0:a01:97e6:6771 with SMTP id m18-20020a170906581200b00a0197e66771mr3351041ejq.0.1700861463124; Fri, 24 Nov 2023 13:31:03 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id lv20-20020a170906bc9400b0098884f86e41sm2499299ejb.123.2023.11.24.13.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 13:31:02 -0800 (PST) Date: Fri, 24 Nov 2023 22:31:01 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] staging: rtl8192e: Remove unused function rtllib_send_beacon() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 24 Nov 2023 13:31:30 -0800 (PST) Remove unused function rtllib_send_beacon(). Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtllib_softmac.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 430951c88123..4e33a453f86e 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -351,22 +351,6 @@ static inline struct sk_buff *rtllib_probe_req(struct rtllib_device *ieee) return skb; } -static struct sk_buff *rtllib_get_beacon_(struct rtllib_device *ieee); - -static void rtllib_send_beacon(struct rtllib_device *ieee) -{ - struct sk_buff *skb; - - if (!ieee->ieee_up) - return; - skb = rtllib_get_beacon_(ieee); - - if (skb) { - softmac_mgmt_xmit(skb, ieee); - ieee->softmac_stats.tx_beacons++; - } -} - /* Enables network monitor mode, all rx packets will be received. */ void rtllib_EnableNetMonitorMode(struct net_device *dev, bool bInitState) -- 2.42.0