Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp771839rdg; Thu, 12 Oct 2023 23:53:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgv3+YJ2takk9uBJoUeoR8yVelEdznleuQcc+wZwsEflDlnx4YKmyrDUDo/8ghDdQgy2Dn X-Received: by 2002:a17:902:d2cc:b0:1c9:b5bf:c22a with SMTP id n12-20020a170902d2cc00b001c9b5bfc22amr11439213plc.23.1697179987053; Thu, 12 Oct 2023 23:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697179987; cv=none; d=google.com; s=arc-20160816; b=yVKW8TZLGAqIEvmhuM5iqKeYUmM8Oq/9lPb/zoMu8uJlkQQyyILRQnFHlwYGXdT1cp ZFyxT4z9fDPKfbY6KywSTvn6hZDwyYboTrOx4oGN3hEzoKhH3/ldxTwaOp5zLnoMEWfr /SXdafHczZzwUBWBGWivvBIyHBCh/91MuEHuYSxFFb4VX6Wzbm9LJUdlRdn9NLnyV/SI TKkqYlxTclvILu7UmjyaGRQdIASkPhLP87D7wxkQuvSDALV4vWPFS0EgImQ9MpVTHo45 q9lIxBALcqdl0zcW+BrlxZJ3LK++OC7S4ZvZZkszvGwJg76bIhAq8siS8+8QoC6WXkeQ 43FA== 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=1fwSnEb/oGascEkxYNcgQ1DoI1EHky2CUmiF3z/VGsc=; fh=nGLMTMRLxTn+amOEWRy0k9ZhwiE+Ja/qghQ1xIi9ljM=; b=ZJXfyGe2o5qkB7beLuzPvkxdtuLbPXmStbtR4L6FQJIm/Y/Qgr44vbmY/KqswH7lqG ZizHD7euuG3bJuPAd9tihUKe32gOcWnWvLEtWb+NxrCPSAWCMwyHHFsvpqjS7eG/ETAk CN6oxrTG/iyvmorgSYXQEpMSUeL/FMzWyI4m9lhcJPAUb+JKEQwAHnsVVLWpjcQV/qac x/xWFc8+2ouBL37NIgGkSJjTISfj3tbxVO9nylN+sRvNOBghZY7v8fwqJ4552vyPGO5Y ff0qDl2Im5gzIXPj6dLe+o0pNEKDG4J2+U12FvgV4EVO+mVxslDHT+OnsWjzsxjo2dou kvuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GYlopn32; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id w8-20020a170902d70800b001c381bd030csi3880876ply.172.2023.10.12.23.53.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 23:53:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GYlopn32; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id BAADE81F381E; Thu, 12 Oct 2023 23:53:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbjJMGw6 (ORCPT + 99 others); Fri, 13 Oct 2023 02:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbjJMGw5 (ORCPT ); Fri, 13 Oct 2023 02:52:57 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A062391 for ; Thu, 12 Oct 2023 23:52:55 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3226cc3e324so1681290f8f.3 for ; Thu, 12 Oct 2023 23:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697179974; x=1697784774; 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=1fwSnEb/oGascEkxYNcgQ1DoI1EHky2CUmiF3z/VGsc=; b=GYlopn326+7oIKGsv5aOk3rwQt+B2C9Segb05eeyTYefmmkOKySTR60+DS3l0yjHaw iAF3a4W3Ear7ActfzBJPN5uMIyCQVGL1Km5Jepn/isS5ohGqvakfBKYGorY4+tScabPy 4xqiP8OsC555O/yqZR7wPvuc2n52CbHP5Dno8ApSnHjylmLsRndMqybQv4Yo2QIkerlB AdwBdFNQGwDcWkFLCCQpcUJB86ysC+GhHg0rvQL+dUzrL3arRepfh+u+qF//IgmD/0Ts Te8BfwxrUoDTEYtum2RwF7APurj5TDzeZKNwG9uSfukbDZqUgl7mgbha/v8/hA6MAnAh LKww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697179974; x=1697784774; 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=1fwSnEb/oGascEkxYNcgQ1DoI1EHky2CUmiF3z/VGsc=; b=rSMV2hel3DMhZbaOL16y6Pi6sMYm1Bqxx2b0Wx/ChEgBLYUm+PUv3G8xX2FyPhwuJP KONvk2FNdVW4WkBszUKjQu6CnMEmZsXEzvbSFIdLIVV2y/cUILN2ruwPye8qlvxT8Q6E FXYFJFME3sIUlxr8tjcLdvfbR1kgPAFpyt5rjk3/m5PAPV7eUA4sUy6/1jRd11ZriTeW fb5qWSBI/Bq6A4eLQDPuuVNpqSE8vsb/LFb0C5QZvxy0KN6v9VFihUUzTNIeqqnJBvno nL2HsbrmWXkYR2yuRISdgVHi3vJPlb/SNI/9bAueABoMKEl9r+LAS9lYjklEtfdqNv8x tTZQ== X-Gm-Message-State: AOJu0Yzm8avp9nljTvYSxrsRf8AiTo5f+r9/aAV/YJknbIbjfO2I1W/u oEXLRVokvzNM5Z7W5gtJWfVyGHOEQDByPs7Y X-Received: by 2002:adf:f449:0:b0:32d:9daf:3f94 with SMTP id f9-20020adff449000000b0032d9daf3f94mr536713wrp.53.1697179973479; Thu, 12 Oct 2023 23:52:53 -0700 (PDT) Received: from lab-ubuntu ([41.90.69.21]) by smtp.gmail.com with ESMTPSA id a1-20020a056000100100b0032d9efeccd8sm377463wrx.51.2023.10.12.23.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 23:52:53 -0700 (PDT) Date: Fri, 13 Oct 2023 09:52:50 +0300 From: Calvince Otieno To: outreachy@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Luke Koch , Bagas Sanjaya , Simon Horman , Calvince Otieno , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: wlan-ng: remove unused functions 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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 23:53:04 -0700 (PDT) The following functions were defined in the prism2mgmt.h file but neither declared nor used anywhere. It is recommended that they be removed. - 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); Signed-off-by: Calvince Otieno --- 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); -- Calvince Otieno