Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1187250pxt; Sat, 7 Aug 2021 03:25:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC45LrN1/+3BR2qmcDQkqmYTVienqd/2vJnyf1j+sGP+Rpr3nwu4BxS/1UpzEWPWqLs61g X-Received: by 2002:a92:d64d:: with SMTP id x13mr9619ilp.202.1628331932700; Sat, 07 Aug 2021 03:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628331932; cv=none; d=google.com; s=arc-20160816; b=0egLefYuZyGzTb7Q6ePDX5YT+W/mcrVjcnAGuavR08MdQyN+S9nLBlJumHiuo1cOSR 4ogO1NZ+wxAPvK7+P8HX+oFsE0J8LTcCVYXPUrTqNmGZB7d43KnRLclpYhy+tKqlfT3/ Xsqbzl+ZWLwgY7HV3nvBlz0JV1DYsc7OdCivoFv8EazNXxMUq9YN7ePZnJg848wIkbpq khaLgST16CxuiAZpj97l/biTiLLvm6iHxb+yHJ6YHg9viKaaNenw/nyn27swF+YaVfhL lJqozhGJebAqz+32HfDe1nUS5DfaPAYrETeiXJp5BO0oqbI+roIlm5pqguj1yK7DWWvf S0Kg== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=UZjwhGsWE2MzAi0fvgWAJ8/2iuyl1IZbIl1M7BcHXVE=; b=LRw0Gkg3QMhhCBu/NkeUcbTVzuBZelXJOhhPsdgn8j7zgalqk0a/GT+nf/n1m4w+5y xXIK7tRyNPxrGtf5w4YYP1oD6+pu71gheKcCiu4SsNk4Te8iyrF6S7ixEWiG5ConycVY tAJEZcUbbDTyplhkzYWFYhfYY8mPx5AINpPBlL921mSbfm5s0SOMN/2He+btaPvGQCkO U6KRy263mzEYgsTnE7FZ/n4Xo+XWzvoeGN9W0ZB0QT8x7ZNjQ3940nx27bjiEx8YMSjg upr/YppkMGRopq1h+TYPiT4M5y/WnkpBVolNbi3XhYEoJv3Bo63g+tN6ySxbc5QrBXJV oxTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LaXUbmLH; 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 d11si14364049ilg.24.2021.08.07.03.25.21; Sat, 07 Aug 2021 03:25:32 -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=20161025 header.b=LaXUbmLH; 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 S231975AbhHGKY1 (ORCPT + 99 others); Sat, 7 Aug 2021 06:24:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231866AbhHGKYL (ORCPT ); Sat, 7 Aug 2021 06:24:11 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30E31C0613CF for ; Sat, 7 Aug 2021 03:23:52 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id nh14so20474050pjb.2 for ; Sat, 07 Aug 2021 03:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=UZjwhGsWE2MzAi0fvgWAJ8/2iuyl1IZbIl1M7BcHXVE=; b=LaXUbmLH2u8Ly0CtDIDTPgvyrFAOOj2CnKLkPl7QuZsh53Vfn1XOka1VZdtnF74UhF 6RbWndnbS1RAsWNhCWvgGNRaHFM8JkkZW3OXCxccA0HXddvzxJ+cC7oNgFtNA3fQiy80 mI52IF4ARHYqjqyKSLEI5+pzdNscpC8lh7jNK1WD/TuQ9GqdCaKoOlNP7OVn0U+eAw0u 2UradTawmEOHSlyA3l9g73YD8615nV+8rd5BaobTDTkCLLGmN7RvuUcmb9v6Aj97n3RQ seH+hOaAP5fQMZzcAUobZ6Mbm1UAYsqPufvV6HFMgjq31NPuG75Ajra4tzQFnqoGOaGT BzRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UZjwhGsWE2MzAi0fvgWAJ8/2iuyl1IZbIl1M7BcHXVE=; b=jEHDpRBx+MxOiV5GDDYwqBIOheFuuc4c693CJ4x/lqVbmK8dl1kKPuWFzU7idavg4c pFaehTbgMSqRgTF6WqMvgyiZRSiqOKa0UVz+plXfl70DF1Ll4GFS1cJ3xiYjffpbKa6a 1X4wtbgRzJp6E8zT7dGIq/4c0d5Pys6LJSdIcN1BTQkt0tuft68KTvFbLAgmosjhjgVk eU9KTqnSCe2Wg14mDLzZUw2kPynD/JHyBU3TBm+CNrc4hQnBGsKGtsN4FVy+9U8CUqK5 99dy2UEMdqtbuxiUhCFy+fNveNNlciMuBDHDDxqsU9ElVSdmnBu4DYfHVlqyCpEemTGJ 45hA== X-Gm-Message-State: AOAM532d+lfkQbYTJskocyE2dsVkfkEWTWdnS1wQBNxjXbmGvgyuRDik FJvua486S1jfD8BKTry09PM= X-Received: by 2002:a17:90a:a4c2:: with SMTP id l2mr25756212pjw.17.1628331831791; Sat, 07 Aug 2021 03:23:51 -0700 (PDT) Received: from user.. ([106.212.234.168]) by smtp.gmail.com with ESMTPSA id d17sm13290717pfn.110.2021.08.07.03.23.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 03:23:51 -0700 (PDT) From: Saurav Girepunje To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net, saurav.girepunje@gmail.com, insafonov@gmail.com, straube.linux@gmail.com, martin@kaiser.cx, will+git@drnd.me, dan.carpenter@oracle.com, apais@linux.microsoft.com, yashsri421@gmail.com, fabioaiuto83@gmail.com, marcocesati@gmail.com, ross.schm.dev@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] staging: rtl8188eu :os_dep :os_intfs : remove unused variable Date: Sat, 7 Aug 2021 15:52:30 +0530 Message-Id: <20210807102232.6674-3-saurav.girepunje@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210807102232.6674-1-saurav.girepunje@gmail.com> References: <20210807102232.6674-1-saurav.girepunje@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused variable pnetdev from loadparam in os_intfs.c Signed-off-by: Saurav Girepunje --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index a826228cbbe9..81360cee7140 100644 --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c @@ -136,7 +136,7 @@ MODULE_PARM_DESC(monitor_enable, "Enable monitor interface (default: false)"); static int netdev_close(struct net_device *pnetdev); -static void loadparam(struct adapter *padapter, struct net_device *pnetdev) +static void loadparam(struct adapter *padapter) { struct registry_priv *registry_par = &padapter->registrypriv; @@ -315,7 +315,7 @@ struct net_device *rtw_init_netdev(void) pnetdev->watchdog_timeo = HZ * 3; /* 3 second timeout */ pnetdev->wireless_handlers = (struct iw_handler_def *)&rtw_handlers_def; - loadparam(padapter, pnetdev); + loadparam(padapter); return pnetdev; } -- 2.30.2