From patchwork Tue Nov 1 13:50:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak R Varma X-Patchwork-Id: 13678 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2978507wru; Tue, 1 Nov 2022 06:52:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ePMUDT+qF9GzyipKZiUnpUY+h9Kb22TNjhmuvLhwFrlSpe7sAHcrquu3AxcjaiDHT/XM3 X-Received: by 2002:a50:ce1e:0:b0:463:ce89:d0b with SMTP id y30-20020a50ce1e000000b00463ce890d0bmr839932edi.145.1667310776747; Tue, 01 Nov 2022 06:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667310776; cv=none; d=google.com; s=arc-20160816; b=CedYf3XE3xMNGgekmM064voXx+9XrODUsU/xGTMEJbrqUzTheE0oL1x4fUYRajBWb9 wtkjs7FFBrGHfI4SW2lJLFhJvF+oXyukSJxpAC3BEiuRE0iUzIbj83tPr4M1TPUZe+PY HsLJJjTQUl08Y+iKFw+y32vzZ8kF6F3d5RuEvJdr1oNIaSDsfUNyUxRvFQvRRI4x5AZC JcPcjn0SkXaCIgIeTN5zLDzB9xmMzfOgSXud5uhW5sASHsZuGam5h6NEaT5RHhZR3stR hh4NalJZthkAoKjIEbcugiUOlfRHlx8vHXDpovc/Xu1ghIRHmNfkE8BTll+IvNtoXEg+ KiHQ== 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=pLOGO+l4F5NL1AX6UxS1r+++i4Gakr3zU6PUeKnI+e0=; b=RLHGix4X3w5duXeDcW26RDP8+k7tCBGkv7TfxV9j890Ryah9OVH2VoxlPysDQIzx0e 98O1bJKo2MNE3iRzqvMw0+pcv1arMGpUQg++iOFp10n+y7wHcV9s8ODyd9Bd8nBSDK68 W2+8NWHEIH68fpRnXbX+ed4hpp9QXw0fU+nWrDFz8/qeWJMRanud+PHkLRW/eLswCXik anuaXhBb/z3jbjiBkkNzJEcyzeLyimMryTEv7wJBxt3hXAd7sjjCHDll2fxwlR1BwYFI PctXK9lJ8oXvSl3REyIeD9Zfxeto7lIslkrQPpNWRYuGG1oXBKcEMK2TnWOvtJm1RJ+W 6t6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=VExi3kuq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd24-20020a1709076e1800b0078df948151esi12958769ejc.946.2022.11.01.06.52.32; Tue, 01 Nov 2022 06:52:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=VExi3kuq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbiKANud (ORCPT + 99 others); Tue, 1 Nov 2022 09:50:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbiKANuZ (ORCPT ); Tue, 1 Nov 2022 09:50:25 -0400 Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76D7C617E for ; Tue, 1 Nov 2022 06:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1667310617; bh=XmP1+R7p/DnWE5QzKvv5uzhyseayhrVNsX9HWBGsGr8=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=VExi3kuq/HmPb0/aDWSXNQOY7ISbyBbW5d+yK/DcBRJJbrcicNKbfVEnpQcDo9LWC OKD6Pn7tR1b5UM93MgwQH4p9YDr8/vkFxYSY3joD3Gp8io459DD5XSsisSzy9d1hp/ Uaf+yt33pz5i2snxiBKpsRjMBPnA6wS1tGQu/PZw= Received: by b-6.in.mailobj.net [192.168.90.16] with ESMTP via [213.182.55.206] Tue, 1 Nov 2022 14:50:17 +0100 (CET) X-EA-Auth: gOpbJ+yZ/65L/9kxRhFEwwz17m1XTt5yz03Fd6XsbTcl10l1/WuCWkGYjjQ3rWczKNL8G2kBfpJrudGWB+4lLwoE5KQGl5/e Date: Tue, 1 Nov 2022 19:20:13 +0530 From: Deepak R Varma To: outreachy@lists.linux.dev, Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/7] staging: wlan-ng: Remove unused function declarations Message-ID: <09e2af8d702e33c15ed9f655b0a1190b4e8bec86.1667308828.git.drv@mailo.com> References: MIME-Version: 1.0 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,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748302065023548167?= X-GMAIL-MSGID: =?utf-8?q?1748302065023548167?= Several functions are declared but are not implemented or used in any part of the code. Remove such unimplemented function declarations. Signed-off-by: Deepak R Varma --- Changes in v2: 1. Patch included in patch set. 2. The patch changes are compile tested only on X86 arch. drivers/staging/wlan-ng/p80211mgmt.h | 22 ---------------------- 1 file changed, 22 deletions(-) -- 2.34.1 diff --git a/drivers/staging/wlan-ng/p80211mgmt.h b/drivers/staging/wlan-ng/p80211mgmt.h index 816b25641f5a..da824bc36365 100644 --- a/drivers/staging/wlan-ng/p80211mgmt.h +++ b/drivers/staging/wlan-ng/p80211mgmt.h @@ -449,26 +449,4 @@ struct wlan_fr_deauthen { /*-- info elements ----------*/ }; - -void wlan_mgmt_encode_beacon(struct wlan_fr_beacon *f); -void wlan_mgmt_decode_beacon(struct wlan_fr_beacon *f); -void wlan_mgmt_encode_disassoc(struct wlan_fr_disassoc *f); -void wlan_mgmt_decode_disassoc(struct wlan_fr_disassoc *f); -void wlan_mgmt_encode_assocreq(struct wlan_fr_assocreq *f); -void wlan_mgmt_decode_assocreq(struct wlan_fr_assocreq *f); -void wlan_mgmt_encode_assocresp(struct wlan_fr_assocresp *f); -void wlan_mgmt_decode_assocresp(struct wlan_fr_assocresp *f); -void wlan_mgmt_encode_reassocreq(struct wlan_fr_reassocreq *f); -void wlan_mgmt_decode_reassocreq(struct wlan_fr_reassocreq *f); -void wlan_mgmt_encode_reassocresp(struct wlan_fr_reassocresp *f); -void wlan_mgmt_decode_reassocresp(struct wlan_fr_reassocresp *f); -void wlan_mgmt_encode_probereq(struct wlan_fr_probereq *f); -void wlan_mgmt_decode_probereq(struct wlan_fr_probereq *f); -void wlan_mgmt_encode_proberesp(struct wlan_fr_proberesp *f); -void wlan_mgmt_decode_proberesp(struct wlan_fr_proberesp *f); -void wlan_mgmt_encode_authen(struct wlan_fr_authen *f); -void wlan_mgmt_decode_authen(struct wlan_fr_authen *f); -void wlan_mgmt_encode_deauthen(struct wlan_fr_deauthen *f); -void wlan_mgmt_decode_deauthen(struct wlan_fr_deauthen *f); - #endif /* _P80211MGMT_H */