Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp719876pxr; Mon, 11 Apr 2022 05:36:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ8BkB1imvz3kXadkC1i9JKY85YNrPY+fd6LrXjub5ivXmPKVJ3vJ/OkhYX64cTic1325P X-Received: by 2002:a50:d4d2:0:b0:410:9fa2:60d6 with SMTP id e18-20020a50d4d2000000b004109fa260d6mr33482306edj.35.1649680603650; Mon, 11 Apr 2022 05:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649680603; cv=none; d=google.com; s=arc-20160816; b=N4WvbFKYaQFCkE++S40yAZynsZnXJ29nvlm116q95zk9w8v+tGlEnXQJa/ai4L+wm5 pVHEwJuMbhK6CkwYnvXl5DHeK4ladNm8DXA8sKJqdwCl5KgnZM1MKu6vomoNcGBM/09v jHdBizxNNfNrMqGwQRm1AzrKvkvauXLIbot3r3AzXTMli+340VReM04DLNS/Cu2AWWQm SHRNHmTr0mFGhQFJPzH5toyqd7MmK4+CWGsoN59Cp2G3IakVR1lFGZSd9sTdXC8KFWIn 7gbk0GAMmj1Vtc+KejS4782/lrNlJFGkDIY2cxuqql7NzV3LctOBT3CcVmtqLVy4KvoF nW6w== 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:dkim-signature; bh=/yU+vBGEs0hJu5+rGTU3MHDinaz43KmLmKdOju9XgNQ=; b=OiEU0PNMRX2AMbHwHEGOkI8pqUhmMMjpY8Vns/sX9Y8ZCsMhbyR1+JqPdW2LvdLhd7 4nfvxAVUPOT02Mf1KlOBm2EtiAqjv64YFqXGwBVVn8Z4qwINszhPvp2fexRFi+abSAAo aEWYbmhyE6G0IYPsgxZCwrgz40VjexmoK17gqi5AAgbDC3jvFkxlvxteSSScPuBP4B9W WJt9vRQnp18ufR8MX3iH4EMUWZalYEiRvVVe11QVS6Kuj//81op1FNkCMtsYoc2KJ/EP BVyYggvCZy1uxQ2Z3LeOvZXX9sEZ7bBwdf6TtS9Uyy2QkQqM+6mdQbTOv7/X5gUn44Nv 6n4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IrwBWCFO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l23-20020a056402231700b0041ac9cb86e3si5959221eda.90.2022.04.11.05.36.18; Mon, 11 Apr 2022 05:36:43 -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=pass header.i=@gmail.com header.s=20210112 header.b=IrwBWCFO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240668AbiDJQeC (ORCPT + 99 others); Sun, 10 Apr 2022 12:34:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239348AbiDJQeA (ORCPT ); Sun, 10 Apr 2022 12:34:00 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACEE2DEF8 for ; Sun, 10 Apr 2022 09:31:49 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id z16so12579455pfh.3 for ; Sun, 10 Apr 2022 09:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/yU+vBGEs0hJu5+rGTU3MHDinaz43KmLmKdOju9XgNQ=; b=IrwBWCFOVfmkafhQzlbBNdy6jswf7TD07xn6AsCFmU51FGERKrM4nobPty/LkSVph7 e20/4b0QPR2whF3JKwD2XFt4Os7eCBMkJGG5nykgQkQ6bVlq1Dl0rk1cQwlWoB65sK0g WivTruq7jSW+LzBkXgSeUD3yWyMTVY/P9veqhqL/srJ2eMZST4cTpgwCTRuyvCi3TxAs vwzfAqmJ53HnmzL8CVjvHuvkuDySsgZrkvq32ODpH7my5Y+FPsPiqO4TUKM6KRdh95M6 NOSNA6qq39W9hBbAOq7PJ/wnpC5B3fIuPqr8LknjK2NfIBCr08WA8ASZGrMQkL/SO71f vQFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/yU+vBGEs0hJu5+rGTU3MHDinaz43KmLmKdOju9XgNQ=; b=x7EWL7nL/DLbgmbJJzLA8nWvfBjNg5kXhTOjL/jDHffN72wsZECX9hvWxDZvXgfraW Gzk7I1w5CGLOEDLNo5SkoxL53j9/pswUfvWqafw/mzDNGO9RCoIajC5ve43fYEaKxykY SRQteue/AQ6eRZOiQtjACKO1Sv7pZ0x4Lhjc3gEOn/f68gLvrRgNhj9Cm2dsFDIlmRLC X99+CGXC0kL1pMzRBIaRSL+gTPADiWH5sTo2pU4CGdw44lduCgTWDXW54TCO0cwYQxUI Z/Bw6BQLoO+8W6kSpYKIHoTogKvCBTeiSeVxececRqik+S7V8PgS1gQoEdseLxral8tj 3NPw== X-Gm-Message-State: AOAM533cPidcH4iqcp/XPrm05oGU01h9KEYB5lmrTGb6T7EbtoRSx8NW U29jt98EZBPBafxiCfXHLYk= X-Received: by 2002:a65:6a4c:0:b0:39c:f169:b54a with SMTP id o12-20020a656a4c000000b0039cf169b54amr11725706pgu.384.1649608309284; Sun, 10 Apr 2022 09:31:49 -0700 (PDT) Received: from makvihas.localhost.com ([2405:201:202b:15:606b:10e4:2085:6825]) by smtp.gmail.com with ESMTPSA id f12-20020a056a001acc00b004fb37ecc6b2sm31940021pfv.29.2022.04.10.09.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 09:31:49 -0700 (PDT) From: Vihas Makwana To: Larry Finger , Phillip Potter , Greg Kroah-Hartman , Michael Straube Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Dan Carpenter , Pavel Skripkin , Vihas Makwana Subject: [PATCH 0/6] drop some unnecessary wrappers Date: Sun, 10 Apr 2022 22:01:11 +0530 Message-Id: <20220410163117.3964-1-makvihas@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, NO_RDNS_DOTCOM_HELO,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Drop some unnecessary wrappers and update all the references accordingly. Tested on Comfast CF-WU810N RTL8188EUS wireless adapter. Vihas Makwana (6): staging: r8188eu: drop unnecessary wrapper rtw_free_cmd_priv staging: r8188eu: drop unnecessary wrapper rtw_init_cmd_priv staging: r8188eu: drop unnecessary wrapper rtw_init_evt_priv staging: r8188eu: drop unnecessary wrapper rtw_dequeue_cmd staging: r8188eu: drop unnecessary wrapper rtw_init_mlme_priv staging: r8188eu: drop unnecessary wrapper rtw_free_mlme_priv drivers/staging/r8188eu/core/rtw_cmd.c | 45 ++++------------------ drivers/staging/r8188eu/core/rtw_mlme.c | 16 +------- drivers/staging/r8188eu/include/rtw_cmd.h | 8 ++-- drivers/staging/r8188eu/include/rtw_mlme.h | 3 +- drivers/staging/r8188eu/os_dep/os_intfs.c | 14 +++---- 5 files changed, 20 insertions(+), 66 deletions(-) -- 2.30.2