Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp775842rwj; Sat, 29 Oct 2022 10:36:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7C1hBvYwrF7bK9zMbpJwc2+g+pWk4VEbTRt1XPQqey/3a7KE2DFSklFst4JgXPkjJQeTzl X-Received: by 2002:a17:902:ecc2:b0:187:85a:2889 with SMTP id a2-20020a170902ecc200b00187085a2889mr3402400plh.65.1667064961724; Sat, 29 Oct 2022 10:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667064961; cv=none; d=google.com; s=arc-20160816; b=g0hg+KIqlmtHIdXpjI70DQRYBNPnX0gcMAjLSoQQc2BcgcZplVQGOuYmilRdrVrkJ+ U7xwN1X2RrVrHjb5mbMZnEWINcSbUIoJreCD4bITHqIyOrCzpfkhyo8nvYxq+vnm1Kd1 pucX5BmgQ4lbinP/6uzd3DZr1K48jK4hoCPEIInIvcdgKpF0Q99Xm16g2aY5Cnr69Rbc xKyhn0Mq/4cCUgyePTJYovNVwyQLWoejmtLLuOHqv/okLV+I9iMk9JWrTRs5KnT6Pfjs Ytc6QmFPyFt68DF6hZABcBMOI9i4z0v3/aOtsuWjshSoOjPWykBHcqJG+3zEpHXyoEMb PhSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=cdbvbQdCYrDZoUsVhqgXjKh3dse4gTva08rzxDRnwlA=; b=n6EuJhvVZrsxAgZKjg8+dW+J074TNx/gOxbH2HEsoAk7kBsHHXOQHSXf3qEQqaPbSD oSmpiH5HjaoSJpGyEZAGTynyPZqrPPuV3bsE8yVrZSqlSPhBcgyi/e8kdnI/D00d+3Ub h8b4Ee41X383xn21EJ4p83oBtu+DZXfsV0lqz0hl3De9i9KHzetPzUcOZdeOabFC1siB rnSvXihAhFF3sjfvRzUJSm8d0gnaSR7nYIUivUydnhXeJca88ev/D6KmovlETXDlg7Qq XHcZaNJFDnMbC5LOddlMf+rMs9+TZBraDKdefutf54cDu6o8QZnYfutFWVScgkvwYqve Jz0w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n2-20020a170902e54200b00186f2ef80bbsi3116573plf.308.2022.10.29.10.35.50; Sat, 29 Oct 2022 10:36:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbiJ2RXv (ORCPT + 99 others); Sat, 29 Oct 2022 13:23:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbiJ2RXt (ORCPT ); Sat, 29 Oct 2022 13:23:49 -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 146CE40009 for ; Sat, 29 Oct 2022 10:23:48 -0700 (PDT) Received: from dslb-188-097-213-253.188.097.pools.vodafone-ip.de ([188.97.213.253] 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 1oopYe-00074v-3A; Sat, 29 Oct 2022 19:23:44 +0200 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 00/13] staging: r8188eu: clean up action frame handlers Date: Sat, 29 Oct 2022 19:23:24 +0200 Message-Id: <20221029172337.1574593-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 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. 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