Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1979964pxb; Mon, 13 Sep 2021 09:22:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ7TEBtoo1skJKAeMJBzM0OYOnm4NZYxKZlgK3IZ21n7x8jumaFJDENN7Iuk2MI48+ej3m X-Received: by 2002:a17:907:d23:: with SMTP id gn35mr14207284ejc.556.1631550165134; Mon, 13 Sep 2021 09:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631550165; cv=none; d=google.com; s=arc-20160816; b=XBMjo+rVKDcNi7zWRB1AztPnJoQJkFcrcQAg9nJgPBNJ84gKroR9L0toBo2BcrxM0Z 0F6WidTiULvpZ/pL+NegCAfMPdVWODUI2vbyEtbVFOx/iAHsFcUIrHmEj3H1eT8IfiM1 wicPBRsg0SckwYT3tb1Rl2Z4T4iw97wFiwtgy+CWyFHsax9eGxIEgM3VYHAAnAyP3ryE f7jvKWoctthwjuXazbSkWBVRC9seoCzcHM21G7RGbkgly/h75dq8Ho/+E6Eu7+lzYFdY HT9xUlPr2iZbMkCuVCqP2iC3IKp+mWzASSdP7x/FHThh/vPVzAxSOfD0tspiWjAqE8vS WHow== 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:cc:to:from:date:dkim-signature; bh=Yh3AwnBbHCvlt8dSucCN6Nr/QcrwLc8xc9Zr9L5UAEg=; b=joRwqy1N27TdwvXNV+O9PJzHyEsgnnBIWKdI5k8U9FmeztTWaWP5qHum934L7wT325 1G3bTbVIIanQFheZ2LZxHXHCMJv3Y7MaIlMmMIxO6A8df1dihQ4N6e4a/jmBWdMkKgKn tHb5iEszBXg3FSN9aBFJ5IkZsKSR8cxakZYC6Twnrd6nsm9XuaMUaH9iaTbkBJAHvAXc f2vS1rv+QLWIioyAS7+zSPWSt08NSJHDcsXLl7DPtHgw7uBvdPb0mytyuAVgW2t6lzlm /YsGZwiQg6sWLtkP0iacN9qBC4lq9fMbMWRO1MHvtESYKTcRoGkFwxZPLvDFhRrQaNL0 q4gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cTezS0Na; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s21si8679885ejm.623.2021.09.13.09.22.20; Mon, 13 Sep 2021 09:22:45 -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=@linuxfoundation.org header.s=korg header.b=cTezS0Na; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231953AbhIMQTs (ORCPT + 99 others); Mon, 13 Sep 2021 12:19:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:54054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230003AbhIMQTr (ORCPT ); Mon, 13 Sep 2021 12:19:47 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7241960EE5; Mon, 13 Sep 2021 16:18:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631549911; bh=1QYduAjqko44zZ/U4MXISA30+hpgDfQVIK7iDh1pJFk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cTezS0NaO1PiYWPqLJuTEBs+5L0sJu+mAaHcj91lCRVC1Tnau9L7q0b9Prh2g3HPB yfdSlUyemyuWufbysMg+L8KHLgWIUVmwE+hvorrvFD24wOWbd8JxpYNseyGl3SllEO kSB9Mb2mMcbjTfFB/kpklR0JEXYvrJfjHmFx0wNI= Date: Mon, 13 Sep 2021 18:18:29 +0200 From: Greg KH To: Saurav Girepunje Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, straube.linux@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com Subject: Re: [PATCH] staging: r8188eu: core: remove the function power_saving_wk_hdl Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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