Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2074651rdg; Sun, 15 Oct 2023 09:50:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGTtjY29EDIk3VwjnC1vNJ2sChEsJ3lRfv3HOc5oyVu7HwJKeUFiejwXTz6C1ddUSbrWOuN X-Received: by 2002:a05:6a20:430e:b0:121:ca90:df01 with SMTP id h14-20020a056a20430e00b00121ca90df01mr31452743pzk.40.1697388652446; Sun, 15 Oct 2023 09:50:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697388652; cv=none; d=google.com; s=arc-20160816; b=K7uft9d+pSLhtLxDtijztuU9cuhFAZOwPG6Hya4aNIugZvECs3bllIsxzTWr8gR9Bq IRuWNy9YO66IsSoXcy+A8yhMIoRKdIwBrkoY5RdFG0co1l/hObiES88i6JQIAxxiqG47 plzwWT1qImwWHtUuJPtFUOjxNuVuNOXHxJsqKjSFGNMJpvHQuUf4iI6DRjbiiefTkotS NNgUrejSAudly1CmSc460MXGyEmEf8YJxH66K9LHBwOK80xUCKbm1sxbAXv98vEwbWL6 GpXKtNb48YgAYxOsrcrkK0wgDdeO4WodYdXYDzFZp5j7ePNgRKA/muiqQWpUY/ak8gQ9 82og== 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:cc:to:from:date:dkim-signature; bh=ocLHAavhK6bI9KhaDjHWiT7D6nID8ENBztnX8oj1fFk=; fh=zvUsjj9kge4Tl0cndTrs1M8f2VIJrlSDIn2C7E82QRU=; b=Zhl35AGZbr+hDncfeASUXahIvstGasvA5ZTffzI0nI79wCOKezRnVUwZ5Wf5pYfU5G Fx/gHsojQGC4Cb1wkdZcF1F0UmugotN5/wrb57tyFCyPm6Z/0FWmVT0P96iG/pGtV2QJ akFkgYJGPtqVEbJkuU5/gbsRSqhWzgshdHt73iACpQR7P6XmQDQeJHAUADO1YUvX2UgK q/gEB8kF7lLpPgXtp+FFMWaH9UbIMjHvJ9VHZF5uoFeaowlk8iLb1ObZgLglSlSSV3bi IULwUpuL9gkboVMtcfU80brKRBXUqffmM0wOjjaw/9EmUBXm6aiIYiEguygJDfRpbiRI ujBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=lIeIBbn9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bb9-20020a17090b008900b0027995cf4342si4345344pjb.55.2023.10.15.09.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 09:50:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=lIeIBbn9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5E9E5804E81B; Sun, 15 Oct 2023 09:50:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229839AbjJOQi6 (ORCPT + 99 others); Sun, 15 Oct 2023 12:38:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjJOQi6 (ORCPT ); Sun, 15 Oct 2023 12:38:58 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E947AD for ; Sun, 15 Oct 2023 09:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1697387932; bh=pYockNRZjc2dNPr8vNuS5tNYZ7arbBBQ8q6BRdmWjPs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lIeIBbn9rTNW7IEL7TMs5zHhkSPHaODkBbeWfKvqBsDgIlBEK4cRZqCHVxL9gwJ7B PLdgjQW7Q+WWrzX1HOrK1SPF+EJrC5BvyEazKfCzFtZ1lzS0hupaVEOVsVYVo8ylZ+ lr81mcFwhN/kvgKysKyCMr+NigcWylk/w3yoix7U= Date: Sun, 15 Oct 2023 18:38:52 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Calvince Otieno Cc: gustavo@embeddedor.com, outreachy@lists.linux.dev, Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: wlan-ng: remove unused function prototypes 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Sun, 15 Oct 2023 09:50:50 -0700 (PDT) Hi Calvince, On 2023-10-15 17:24:57+0300, Calvince Otieno wrote: > These functions are declared but not defined or used anywhere. > Their definitions were removed 15 years ago in the > commit cbec30c4c00c ("Staging: wlan-ng: Delete a large pile of > now-unused code.") The indicated commit seems to be incorrect for prism2mgmt_set_grpaddr(). Also for new versions of patches it is useful to explicitly Cc people that commented on the previous versions. These people people may be curious about the progress and it makes it easier for the patch to receive a Reviewed-by from them. Plus the points from the document linked by Greg's bot. * Changelog compared to previous version. * Increment of patch version counter in subject (* Link to previous version of patch in lore.kernel.org) > 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); > -- > 2.34.1 >