From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B1AAFA3742 for ; Sun, 30 Oct 2022 17:33:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbiJ3Rdy (ORCPT ); Sun, 30 Oct 2022 13:33:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiJ3Rdu (ORCPT ); Sun, 30 Oct 2022 13:33:50 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B5999FC8 for ; Sun, 30 Oct 2022 10:33:46 -0700 (PDT) Received: from ipservice-092-217-067-184.092.217.pools.vodafone-ip.de ([92.217.67.184] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1opCBn-000469-0L; Sun, 30 Oct 2022 18:33:39 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v2 00/13] staging: r8188eu: clean up action frame handlers Date: Sun, 30 Oct 2022 18:33:13 +0100 Message-Id: <20221030173326.1588647-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up the handlers for action frames. Summarize common code, remove unnecessary return values. Please apply this on top of the "remove the last get_da calls" series. Changes in v2 - remove on_action_public's ret variable in patch 3, not in patch 9 Martin Kaiser (13): staging: r8188eu: replace a GetAddr1Ptr call staging: r8188eu: remove duplicate category check staging: r8188eu: make on_action_public static void staging: r8188eu: make OnAction_back static void staging: r8188eu: make OnAction_p2p static void staging: r8188eu: remove category check in OnAction_p2p staging: r8188eu: replace switch-case with if staging: r8188eu: replace GetAddr1Ptr call in OnAction_p2p staging: r8188eu: clean up on_action_public staging: r8188eu: remove return value from on_action_public_vendor staging: r8188eu: remove return value from on_action_public_default staging: r8188eu: rtw_action_public_decache's token is a u8 staging: r8188eu: check destination address in OnAction drivers/staging/r8188eu/core/rtw_mlme_ext.c | 116 +++++------------- .../staging/r8188eu/include/rtw_mlme_ext.h | 7 -- 2 files changed, 28 insertions(+), 95 deletions(-) -- 2.30.2