From patchwork Fri Nov 24 21:31:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 169575 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp1548470vqx; Fri, 24 Nov 2023 13:32:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzJBwHdADL7KuhOxMcIdk63OHRVoYMZuh4MBSF6nA4W4USXbNqvEvQCZM5PTJq5r6yMRKJ X-Received: by 2002:a17:90b:1d11:b0:27d:12e1:94e0 with SMTP id on17-20020a17090b1d1100b0027d12e194e0mr4166027pjb.36.1700861527632; 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=DhvLLnWzvpH0p01XnbTzCL0q4zI6acjtZiCc/cEp63PdGhL0tUFYPKvhfPB7xHvet3 TlqKZA9LylOyqS+VHy5S+6bnk2OIaUpvxNk5B4mfw+z3aeyRuWi1d9E1knMrN8Jfp6uP iSfPJipK09MgP4tBZ9YNcD6VeJRTe8W1jeZhQARLfqCPAKFy98Ct58wSJ3P5FSo6IUpY rhjqaWzQgEVkGKvWLIKXYuT/sOkV7RfJ77gyFHvNfZQ6hEnJMSZDy5/mPvun7t/W3Zft zszGSaDT3aalCjJC7oTqUHnnWxlpXtymxQ0HZ0ZecN3gWlW0sk4pCPIfL0c6oiMi34Uy BNkw== 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 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id l12-20020a65680c000000b005b4c93baa41si4257277pgt.391.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 23.128.96.38 as permitted sender) client-ip=23.128.96.38; 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 23.128.96.38 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 EA69181C0C8F; Fri, 24 Nov 2023 13:31:24 -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-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:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783482577416024893 X-GMAIL-MSGID: 1783482577416024893 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)