Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp911793pxb; Sat, 18 Sep 2021 23:51:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcXYffnERGVEH7vuzIJzddJ/CP/hSdmyDMRCseCgIP19xutNI9qmIceg5K+FFsU4+LAMMP X-Received: by 2002:a6b:dc1a:: with SMTP id s26mr14369224ioc.191.1632034280585; Sat, 18 Sep 2021 23:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632034280; cv=none; d=google.com; s=arc-20160816; b=rqYIyKKGdX+v2A/El579DUVnhvcTJjRHXXLJNSaiys9ib1pAsoqWslJDjuxdPyuRv6 t0q7DIgXhoXvrH95EovZU0LOauH8SZC4crmitLk1292e6ls3SxgL1frDWLcmY6EO3fP/ 1fljKcavTbwGvUdBiE7iIB94xyfgVeRVZh6MIZE7APA4k9YdaFBxfPPHV5r5agSDNyLQ +fxAuiqrX/qrheB2NgWmbGIj6gvYOTHMHISonZXrUkKWY5/DfSwRD2V6Qnzqeraw8hgg SbSCyUbDT0DRUUUjmtSNCVuNbzn0R7/u8nn6+BZxZnUMV0qWFr8jaYXuj+Z5Yaevu7EY AJ5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:cc:dkim-signature; bh=6babHy+b4BwGbNSFMykruhsxsT6H8Mxu4ETZghrYvkY=; b=d0z+mCQIbsk6lZLb4u/A27BlEI1Q783bkzd9xY3FAlV8/UHRMHZIU83HURoG/Ux86G Ip0PBvHzxFHFKGaFbMH266FoWHzo+4ywU55ojdKQnXn+wyVuS2186zTlnzsytpOpRVox GYzjHRTt8sUm+Jl0H0evrfZ5R2zs71+V66xJLcgxgIONMmv1bxii1wJfDBoKWix3KKxl L84lne2K7xAyPVcT4+qQLypjbUFiu1wXPs3BdFG2OTFHgovWy3fO4y3ck5Gh7I77XMA1 0kTHTtLzi8qh1Nb3HRlBIUaEGMcT2T9JC+tQmUJ/vPhemvEjZ0lTJXqsHaU5CjxAil2D 8XhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cSTtO2h+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 10si10631229ilq.33.2021.09.18.23.51.04; Sat, 18 Sep 2021 23:51:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cSTtO2h+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S239072AbhIRRYS (ORCPT + 99 others); Sat, 18 Sep 2021 13:24:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236861AbhIRRYS (ORCPT ); Sat, 18 Sep 2021 13:24:18 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 522D8C061574 for ; Sat, 18 Sep 2021 10:22:54 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id nn5-20020a17090b38c500b0019af1c4b31fso9674325pjb.3 for ; Sat, 18 Sep 2021 10:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6babHy+b4BwGbNSFMykruhsxsT6H8Mxu4ETZghrYvkY=; b=cSTtO2h+7FNhdz1XrStuIFt89EQjCjP9BySawI99Na3gXZCNJxuWat8RU1l7kxWZ47 rouiu8VrXDLhMALCW0JGnmTiU0QHvVB/CqbPDlC2vdSTB6b9hMI4cv51kMuAQaeSFX9q 6G3WDXmG8i8d+it3CExGOhLtYdRLWHUufnSzQgU665HyE8HU2R+B3W2S9yeq48eqNtSO 6V0WxaJOCu5Hs65ltkuFOHx6bCkPCujbaMGbYRQ+HjdGaka6cOfOKrP0faqRf+hgb+NI 7ri/48CTg3pmR9mCdSzsdy5xHUolmPJQMUhUO2hcojYrXVJlzDMwFihwkPSQPknAdIGY QrFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6babHy+b4BwGbNSFMykruhsxsT6H8Mxu4ETZghrYvkY=; b=ckJauTcKw6oXSRU9IeUBV9XluP6W9D+8r0cBV1sbZsoB/+KuGpsakypwGPY5NFed2U oAny64KKvPfrSPpzYIo/VbQC0HVaf7yE/tHFKAUnTD+SWEmAcu4ghbja5hdZCyRRmEKi j71pRei/RniuJsG74QCLJpSMATieSAtnEl1YaGypUSdNK+Pnjot09uz2UIW7NEA8qY0d WWZ+4cWrW0SKy12e0S6y+UQWcI42fiRyJzpRaL2LMm3zxc6LomMcomecN13Xhtq7vfk0 tLyQlgSX0WcuVK9+hrPDlhckKjUN5GH9SiJ8aQR55b/1KWxmMZpK2yyUE6ZmWthR8bnT GrHg== X-Gm-Message-State: AOAM530fJGgiTR610h+WmC6dPOOnJtbPGVgQnhW/X6meRVwNRy5VNf7e JcFlVpy1WkIJj+X+DGpspLxiYPi7c43Ybw== X-Received: by 2002:a17:90b:3904:: with SMTP id ob4mr16650763pjb.148.1631985773609; Sat, 18 Sep 2021 10:22:53 -0700 (PDT) Received: from [192.168.1.6] ([117.98.200.228]) by smtp.gmail.com with ESMTPSA id 26sm11914447pgx.72.2021.09.18.10.22.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Sep 2021 10:22:53 -0700 (PDT) Cc: saurav.girepunje@hotmail.com, Larry.Finger@lwfinger.net, phil@philpotter.co.uk, straube.linux@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: r8188eu: core: remove the function power_saving_wk_hdl To: Greg KH References: From: Saurav Girepunje Message-ID: <45c4de06-f618-4352-91ea-885edecdf8bb@gmail.com> Date: Sat, 18 Sep 2021 22:52:50 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/09/21 9:48 pm, Greg KH wrote: > On Fri, Sep 10, 2021 at 11:24:39PM +0530, Saurav Girepunje wrote: >> Remove the function power_saving_wk_hdl() as it just calling >> the rtw_ps_processor().Instead of power_saving_wk_hdl() call directly >> rtw_ps_processor(). >> >> Signed-off-by: Saurav Girepunje >> --- >> drivers/staging/r8188eu/core/rtw_cmd.c | 7 +------ >> 1 file changed, 1 insertion(+), 6 deletions(-) >> >> diff --git a/drivers/staging/r8188eu/core/rtw_cmd.c b/drivers/staging/r8188eu/core/rtw_cmd.c >> index ce73ac7cf973..35e6a943c556 100644 >> --- a/drivers/staging/r8188eu/core/rtw_cmd.c >> +++ b/drivers/staging/r8188eu/core/rtw_cmd.c >> @@ -1669,11 +1669,6 @@ u8 rtw_antenna_select_cmd(struct adapter *padapter, u8 antenna, u8 enqueue) >> return res; >> } >> >> -static void power_saving_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz) >> -{ >> - rtw_ps_processor(padapter); >> -} >> - >> #ifdef CONFIG_88EU_P2P >> u8 p2p_protocol_wk_cmd(struct adapter *padapter, int intCmdType) >> { >> @@ -1941,7 +1936,7 @@ u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf) >> dynamic_chk_wk_hdl(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type_size); >> break; >> case POWER_SAVING_CTRL_WK_CID: >> - power_saving_wk_hdl(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type_size); >> + rtw_ps_processor(padapter); >> break; >> case LPS_CTRL_WK_CID: >> lps_ctrl_wk_hdl(padapter, (u8)pdrvextra_cmd->type_size); >> -- >> 2.32.0 >> >> > > Also does not apply to my tree. Please rebase against my staging-next > branch and resend. > > thanks, > > greg k-h > Hi Greg, I always do rebase against your staging-testing branch. Can you help me to understand.When we need to rebase on staging-next. Do we always need to rebase against staging-next..! Regards, Saurav Girepunje