Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp992259rdb; Sun, 1 Oct 2023 14:51:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAZ9zWWWofje1du75tdo44BK9f37AFjx3bi8CqdPvuKWt97rtvGuuvm58CyFYzRiwzkdlP X-Received: by 2002:a05:6830:1514:b0:6bc:fdbd:ccb8 with SMTP id k20-20020a056830151400b006bcfdbdccb8mr10899206otp.13.1696197109552; Sun, 01 Oct 2023 14:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696197109; cv=none; d=google.com; s=arc-20160816; b=rLiZHP1ds6S9nOnAB5DnabK5XoEtiImyMVV4wuuKLzQtfQKghwl4IUh3D/iwZfUr8R sSqINo/onbv3enKDsXf8BEe/dBesSpt+cV2Epj2tkSmLSZo/tKBssTzkGTdS1cdbgFZ7 shgwzojwtW0awRsrGw1PRFpOmniBcmMzAo/IteXvOMjteH+EKvh1zpagiFtLP3ydOusU veLZyqhYTHk93N/VmVcPyNjvtcgKhv9LagD3kGvluacz1hWJ0xPrSoqF1oNshPV9w+f/ 4UBR/f3xnLyRnP4/wUDhQmR5wfxwYHFpS1USJ+8TE9BFpg8mViCyTjJFeInzomnUn9Z/ b7eA== 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:to:from:date:dkim-signature; bh=ZsEg8H7d6fgrWJRtj3vP63E33mgGkOeEm3YkuheUnaU=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=fXqpGCnh8fqKybLO7c1CyrIjo2l8RVI+ExZgyf6etIHZY9viHVF8u048KM0HQexAtZ rewsdTlD2JwRpeFBXs2TGgF6ynO216WsEpm2qdjSuxUa87bYCRZ30SLfy9K5FFwAicIN ihLoxO+nPBoFlqUqEVQR3Xmv76P/RQqB2/XsYeQIHDy3vKGtGHcImouH+oK2h/r4Jrij A2AaCaQdOtnD1OMdM0iWHl+P476ft9didD41H/AAeoFASeX1IGK1zcv4lM9UfQFLYEOu 0Rrvhy7p/JjJN5JMJXG8FhvmTTvLrmZ+3Qp/8i9X8o/ptSni89t2mXRIuZU6j7+Amg7P eETQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J5zAMPBt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i68-20020a639d47000000b0057c2f61474asi1698839pgd.290.2023.10.01.14.51.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 14:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J5zAMPBt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EABB7808727A; Sun, 1 Oct 2023 06:45:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234327AbjJANpI (ORCPT + 99 others); Sun, 1 Oct 2023 09:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235046AbjJANpG (ORCPT ); Sun, 1 Oct 2023 09:45:06 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF0B7E5 for ; Sun, 1 Oct 2023 06:45:02 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5334f8a40e2so4097124a12.1 for ; Sun, 01 Oct 2023 06:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696167901; x=1696772701; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ZsEg8H7d6fgrWJRtj3vP63E33mgGkOeEm3YkuheUnaU=; b=J5zAMPBtHmhAeR7pBlKR9uu7wUSVLCLQbicC/q2t0CWXRaGPHub785MwOweRwTu2Vr 8WHK+pjBr8ayoKh37zbImxkmfPys775ZS9LixBgD7y6YzUb96iILITOeBHGmnFdvo/TW wQBjNnP43ww80SrYzSUoNcXv2kXylNWVfRHE6sZN3eCZXouF59n+j0iryd9oPA9yDVw4 DYSULgp+9vogY3YDJO1iZFc0qmtenL38nE9FvtHevak79VxbSDYyZGx9eOl2pbXlpa2u BBFhMAOFGBMz/Pz8dcSQi6aUsOd+53Ya5ixlhM1ER2UUVghc6CmiazC5+grTEXuhOLjs 4BbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696167901; x=1696772701; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZsEg8H7d6fgrWJRtj3vP63E33mgGkOeEm3YkuheUnaU=; b=dfLGjQzHdP4S8shwQ4sS22MZkTFlxyakyo6qwxAJJsL1Ow2pbsjVMU74NhZJWkMYks VZKYyE5yZ44OFSgftG1R4If/nRf88OR8ufw1X7nCmv8gtgrRlCetTfJ4x2c88+KiVmr4 Q211pL/vbxNVe62O7PgTiu9Zo7DMNnVRqqcoLjs+NeShEdPWUVW2PslQ8qmQclzPz0Cn KBfmBal3jqYERW/6Z3h6QzRq72QUuw892mtrNyMdrn8PKsFw6ND3doKIMBMOAQThfl3+ 3oZZtirY6batq+G/mYHeL89ASEd/Eu/JNHPaIyBytOek3CydJKzeoPkE/kF+hjpAX6U2 HNfA== X-Gm-Message-State: AOJu0Yxmwr7e8v6OVSq757U1PXWQGfJ/HHF+wAr6rtRtuoYHoAouVIP7 pee5nkBZ1py+Kzq2WCaQodI= X-Received: by 2002:a05:6402:2792:b0:51a:4d46:4026 with SMTP id b18-20020a056402279200b0051a4d464026mr7106424ede.0.1696167901402; Sun, 01 Oct 2023 06:45:01 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id f5-20020aa7d845000000b005364b54a4basm4297223eds.80.2023.10.01.06.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 06:45:01 -0700 (PDT) Date: Sun, 1 Oct 2023 15:44:59 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 07/11] staging: rtl8192e: Remove unused parameter from _rtl92e_sta_up() Message-ID: <105beac3b04bd73267b3e30e6b944b381dcfa8a1.1696165351.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 01 Oct 2023 06:45:19 -0700 (PDT) Remove unused parameter is_silent_reset from _rtl92e_sta_up(). Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 9da858510211..94a73f9cf888 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -588,7 +588,7 @@ void rtl92e_set_wireless_mode(struct net_device *dev, u8 wireless_mode) _rtl92e_refresh_support_rate(priv); } -static int _rtl92e_sta_up(struct net_device *dev, bool is_silent_reset) +static int _rtl92e_sta_up(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); struct rt_pwr_save_ctrl *psc = (struct rt_pwr_save_ctrl *) @@ -1709,7 +1709,7 @@ static void _rtl92e_cancel_deferred_work(struct r8192_priv *priv) static int _rtl92e_up(struct net_device *dev, bool is_silent_reset) { - if (_rtl92e_sta_up(dev, is_silent_reset) == -1) + if (_rtl92e_sta_up(dev) == -1) return -1; return 0; } -- 2.42.0