Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2138772rdg; Sun, 15 Oct 2023 13:04:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQr/X3FcSp+0t8m435szTxCAg3Lg6CjQ+SGuSI1ZmvDBPbAmLtuggL3xRchylOg0xL9OhQ X-Received: by 2002:a17:902:d2d1:b0:1ca:220:ce42 with SMTP id n17-20020a170902d2d100b001ca0220ce42mr6571628plc.37.1697400254649; Sun, 15 Oct 2023 13:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697400254; cv=none; d=google.com; s=arc-20160816; b=bfzmzCn952Q8O00UVqG77AhMo6rXF+5AZGukan+6LBVr6QtcBUAQZpFLhJqf2bCWnA DxT69R0d9fPaU1mdj42A5cVxjrA9HwiTfwP4zvtlPM2dr9G0ssxDbPRhKXHrnY4MGcuW fpn4BsabW7XgAo6BKDnU5+dShGhILBHLFUdT7TgOkaTLj76KtFguo2LIF3Ohod1F3b+E k3qFFHDnvSArbGFH0bE+NUTgQ+rtFIL1Gb311I3LWf/mXE6zGJchw7LwT9kk0oaiJzI6 xZskzmZSpGIojlgSb5OSaMZM0/0cvyD77yxy5S3St2RB9IZqqG87mKI4kSe8Dff27HxE zrGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=FG9AttEioQfqRDZbNIP/22fcyG3rw6EjNALMu0XvLK8=; fh=99fbu0IoAMEX9iA59drc8jmEEhttV4JAZvovh088WqU=; b=dZJUOwz8flTGM7whIiUdg/wA8GXkieXWu9ODzSS+ZvgaQXHsh8I4cJZ6rFRK2QRvBX 4Dd3zv8KC2Nx7jgcCZl88ecihxnuFIH2gx1vZ8jo/SKKAuFC+3Gznu3IbBtnYmxVl5kn 10CpWCZYHeB88t7KMVogKGV1XBUDly+rjCIb/ZSneudHrux1ECrPKBa5SjdKeabS8uJR /wWKM33ddr1/u15sbj+b1Ej73jW6kM4e+C8uwCoxFx9qkQ0z9ICNxjm38oVoNN9xrDRw ndajlsx2K1KuJncBMD+m0qqL730GsPhRdmWq83TlACQA3dWSh3DT6fQjh704GStztlcp nc5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UYjsZzjV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id u7-20020a170903124700b001c5fc1f79f1si9534070plh.165.2023.10.15.13.04.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:04:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UYjsZzjV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id C0EF980BB5ED; Sun, 15 Oct 2023 13:04:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229641AbjJOUC2 (ORCPT + 99 others); Sun, 15 Oct 2023 16:02:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjJOUC1 (ORCPT ); Sun, 15 Oct 2023 16:02:27 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AB3FB7 for ; Sun, 15 Oct 2023 13:02:25 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40684f53ef3so41756915e9.3 for ; Sun, 15 Oct 2023 13:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697400142; x=1698004942; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=FG9AttEioQfqRDZbNIP/22fcyG3rw6EjNALMu0XvLK8=; b=UYjsZzjVVt7NqtvwjChHG29M+rD7U1hjuaiYqWuS+705bWs+aeoVbSUERCbUuZcOvd dLtRQxpbUwVzNOHdY3K72uHbCEreRAytkRxfsCTIwoWClVMLtnMztxnjGjU9D7mWoYNV wMA/foKSVYL3TjIEojppl/sxt87Io4EmBa6Fq3IpeMd5ljelkE3qwLPaTkFEqWNsCInI fZObjUoPu/0GHnCsnkuqA1Z6FgiLymUH6JwGDgAwoFf3DzesesecFFGV8erE229tzFn2 kdnBEAL26sMakEFF5UyHfQHZN4zuVfftrw7MkxdhZ/A/muln3ASalLvdq/T/Wr7M/kWp 0+ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697400142; x=1698004942; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FG9AttEioQfqRDZbNIP/22fcyG3rw6EjNALMu0XvLK8=; b=voULjsVw7etpjFIv+teB92EEQ1lrqnutkKu1Ikr72qE4Ra5573/8o6zFuHqZerVF7S dUcDAdddLXUq8xu19Bg29jEvAZFvYwFQpKfXD9QP7kD32iP/OxTJ2gtjq6tHFHg59w5z Eh2obcA08zCsfsTgZjTaiYq1Tgm+L8P/GV/R9aNuKArsVd7x94cU44zsaS4pxNO4Dy9p yF4v7BQgH7bOHerKo7hdl1o/twmO4It0NX9KBgKtohZG3BMcPvHKJ2foL8mIB7VT8wk2 REn/5+jetQ5gz37nW1cNvKaLxGUANzt268MIh7oUEpUQjHd80FuHNxJLqeoKipQIpLKA XhCg== X-Gm-Message-State: AOJu0Yzlu16VtCE6OHBYxZJ8LTht9Z9ddHzqxniZpP8K5haEvxVfl49a L/JU6RzvCxorwFXsYIoLPfrjyMxrCsDiKQ== X-Received: by 2002:a05:600c:2298:b0:406:4573:81d2 with SMTP id 24-20020a05600c229800b00406457381d2mr26922024wmf.39.1697400142167; Sun, 15 Oct 2023 13:02:22 -0700 (PDT) Received: from lab-ubuntu ([41.90.67.11]) by smtp.gmail.com with ESMTPSA id o6-20020a05600c4fc600b0040472ad9a3dsm5294765wmq.14.2023.10.15.13.02.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:02:21 -0700 (PDT) Date: Sun, 15 Oct 2023 23:02:19 +0300 From: Calvince Otieno To: gustavo@embeddedor.com, outreachy@lists.linux.dev Cc: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Calvince Otieno , Sergio Paracuellos , Solomon Peachy Subject: [PATCH v2] staging: wlan-ng: remove unused function prototypes Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:04:11 -0700 (PDT) These functions are declared but not defined or used anywhere. Their definitions were removed 15 years ago. prism2mgmt_set_grpaddr() was removed in the commit 1e7201836c57 ("Staging: wlan-ng: Delete a pile of unused mibs. And fix WEXT SET_TXPOWER.") It's signature was changed in the commit 5a2214e2e02f ("staging: wlang-ng: avoid new typedef: hfa384x_t") prism2mgmt_get_grpaddr() and prism2mgmt_get_grpaddr_index() were removed in the commit cbec30c4c00c ("Staging: wlan-ng: Delete a large pile of now-unused code.") Signed-off-by: Calvince Otieno --- Patch v2: - Updated the patch description to include the commit history indicating when the function definitions were deleted. Patch v1: - Removed the function declarations drivers/staging/wlan-ng/prism2mgmt.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2mgmt.h b/drivers/staging/wlan-ng/prism2mgmt.h index 083a055ee986..8c3f1ac35913 100644 --- a/drivers/staging/wlan-ng/prism2mgmt.h +++ b/drivers/staging/wlan-ng/prism2mgmt.h @@ -78,14 +78,6 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, struct p80211pstrd *pstr); -/* functions to convert Group Addresses */ -void prism2mgmt_get_grpaddr(u32 did, struct p80211pstrd *pstr, - struct hfa384x *priv); -int prism2mgmt_set_grpaddr(u32 did, - u8 *prism2buf, struct p80211pstrd *pstr, - struct hfa384x *priv); -int prism2mgmt_get_grpaddr_index(u32 did); - void prism2sta_processing_defer(struct work_struct *data); void prism2sta_commsqual_defer(struct work_struct *data); -- 2.34.1