Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1670053pxb; Fri, 10 Sep 2021 10:56:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHk8XRh0F9TgVtWaaT7PKMXcjuM1IuVInnjXWg10zhfLucKoHQVGDkrv9mcxtbFWYann3t X-Received: by 2002:a6b:c3ce:: with SMTP id t197mr8006512iof.159.1631296572460; Fri, 10 Sep 2021 10:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631296572; cv=none; d=google.com; s=arc-20160816; b=G6Q/S5PBm6j5oSKN8gjYIyore50aWb0Ybkzg74C3CJx5aPNsMX8mzfyQMH0UmnpP+I 99QKZ5/xhGCrxWLdAzf21HYhubAxXsInAsxZ0y3y94QKO6K/PajVTs30WMrrG39kZ0DA jalZXUteRJar2dhuAUWUBI5AP4lj8ADuB1ZymgALGCIpkNBUy9DPXSzZHgJr0EfGcZKv FH1cEbrYrs8cs3Nk2wU7UDHOjkwdSkDqSZJ4nZ4aoYF55b19ieGhAk39jIrGbOtXyuBE j+7ijMCeWIw0aTUtEAORP2Hdkhcg0GG8fSjSWGzsfTQAKBjirBk016FjZwZNSko/ceNH Cn9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=aNdAt3bIyCf0OKCvnDHfldR4f9Z2Y9u67akOXp3+z54=; b=F/JzEKfqfNnlHZMiPZ3jJQnGJkHqq6pSItmKLo7s4fpVsIqk9hoL0PCw5S+d+iT9OM JrINeIU47Jd2VR2YexXftrm5Dq+J8PQSQEb/lDG7pcQlquu3+Png8+Sep8AXNlJXEWRT icSFcOw/Cbk8yWwarJS9hjp7iz02zFh9mhCU4qHu/P5RyKir9MyMRpxrRd3n1dTGEktM WKKB1rL9t/mN0+HPFOwp80WkLSvqy3iVBq6s0S0Px8wa3lnK3Nc1tIdlU4gK77G617nU Ep4LizKZtzvtdme2chuf0tACGSmi0+8/EP4rvaMtMexwCvlcBBej4cdkQVt/XZhKq+Ei YSYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZAvsshhZ; 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 o7si5303147ioh.56.2021.09.10.10.55.55; Fri, 10 Sep 2021 10:56:12 -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=ZAvsshhZ; 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 S231389AbhIJRz5 (ORCPT + 99 others); Fri, 10 Sep 2021 13:55:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbhIJRz5 (ORCPT ); Fri, 10 Sep 2021 13:55:57 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B22C061574 for ; Fri, 10 Sep 2021 10:54:46 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id w8so2515950pgf.5 for ; Fri, 10 Sep 2021 10:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=aNdAt3bIyCf0OKCvnDHfldR4f9Z2Y9u67akOXp3+z54=; b=ZAvsshhZZBaZiHNl9M8e9qw1Sp8NuOS5+VedetlWLCqPs5SMzt5OJPHeX/dDDI7Q8m A2SiSKiJmI/y/keXRa8fNt3mr1U5I6Pjs0Ia60LfIn39mvgqgKC2KYTnvCXOxAJqqqqk qRp37zb7dVXk4s/zaVNP0WMCbD/un1Y8U3X+qaTJZId97lT5Vs75kSkeHgFU7BlfSrap Kkb+hyXk4ztYMWkQ/fWALZ37x+2lGV8brRgNqRd87QoaAggxF+05rvhqujhTJrp7LbWy MiX5l6g1w4bciKVlveZfJGMHvq4byU44BGcuxXf8f1J/KWB5WZ9yACLI+fAOAuYWwMpa oalg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=aNdAt3bIyCf0OKCvnDHfldR4f9Z2Y9u67akOXp3+z54=; b=zl8C/83ub7jrAOBVfhBBSOG/HmAX7hA/WxXU3rJRiinkOeGJDEl0r+cDvRRg031/fU 6VcAruYBm/3oSCCBMp3fTsJz6HdbngXfuLyrPa/DZjzRRtHwgh9+YzET4OQOvmPWkQqS RTk1j/99prmmLR+efBqNpoHiBGXxYRIj64wKcTkeUwHXMs2Q8eD55Xu9DXu+A7TVK+tW lFkH1RVoi3TX+cDZqTTG3afLInEO9EayMnBwgm439OHpYyRXvD/W2mYGHwYPykqY4YXk AdDc/o8VcvntBY5YJDlyLGK78i/Y0vyAdfpViVTDSvkkXR8zHbd53UgxxGNbcf+zOP+j Wa7Q== X-Gm-Message-State: AOAM532ERHqv2276A3//b926WQrewEIsHCfFwbioWT0lGwc/lpQqn7GP DWcN2D/QHj5WZEz4e5s0oes= X-Received: by 2002:a63:33cb:: with SMTP id z194mr8370058pgz.380.1631296485508; Fri, 10 Sep 2021 10:54:45 -0700 (PDT) Received: from user ([117.98.200.228]) by smtp.gmail.com with ESMTPSA id h8sm5550218pfr.219.2021.09.10.10.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 10:54:45 -0700 (PDT) Date: Fri, 10 Sep 2021 23:24:39 +0530 From: Saurav Girepunje To: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, gregkh@linuxfoundation.org, straube.linux@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com Subject: [PATCH] staging: r8188eu: core: remove the function power_saving_wk_hdl Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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