Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1171274ybi; Sat, 27 Jul 2019 04:08:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5OkSC5Rdugg4wxPfPAIMOWHPecTnrvkYYpOEpXzv3vwJP7GygWI3vV67u/EUUacThpn+Y X-Received: by 2002:a17:902:6a2:: with SMTP id 31mr95793702plh.296.1564225727422; Sat, 27 Jul 2019 04:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564225727; cv=none; d=google.com; s=arc-20160816; b=zQBnmZVBudlrYpfDxUYztYuYDKdSHsHx7Lf0ykP7HOc9Wv+Ao8VH2Pe34PKYaynwRq EcdpUm+PAyE0Z/NJYspo8zWH6Zjhm8fGVzyfp4rwnUwMrWUV1Lx02J1Imt0heDNI2xrL 3lc/r5KE3L1AtDAKSqJPYMvkYqzUoLQceBrZ1H1aS8lNWrmMIG12FtmCngD7AngIlNku g7HvFuhhOjn3D0WQ+7bzN1z3KPikzr9HhjcbgHYBjDkBhwNvH1s9IR42dikfnhjQNQ04 qMP0PfUhhyenHnHsTBiEl0uy8VjuBTCKvAkC44r1YxzCtXSmbDqPfKJWpPHoE0Ysqdud +F/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=YYitJm/LwHhp29cVtN6Nj2n/w6bD2omxDxt7bEyLK9k=; b=ebt6xLk5ZXXcSEYh4txDY+5U6w9MYSrRV+9DHHbizUGO4/l2ogEZ/vrdx5u26+qK4y D3hK96uthOS3DBDRnptfSR49lsqKPCKqm/wpg9Bb3A4ayo28GK48zzZNGjnGhw63Fdd7 UfEc4Wt4CY9ZvtBVwuLTmTw1cM0/we2o2SBPOosubAwubTE6Zmcb5j65C4cNMVa06yzL BlYmBBFWJOPSh9oqUYf379elS/COGPZhqv+lHrLl1No+B4WZePqIhMVGVZfZj5LSsPzB i8XYFnB2GtBRhOp3y2YIIIPE6GyTiWaGKnAj7QH1D34B28ciuwug6Aov81kdo5/XS1w7 B4uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FcEdk6vi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d12si20877265plo.68.2019.07.27.04.08.32; Sat, 27 Jul 2019 04:08:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FcEdk6vi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728574AbfG0LGW (ORCPT + 99 others); Sat, 27 Jul 2019 07:06:22 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:34021 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfG0LGV (ORCPT ); Sat, 27 Jul 2019 07:06:21 -0400 Received: by mail-pf1-f196.google.com with SMTP id b13so25709388pfo.1 for ; Sat, 27 Jul 2019 04:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=YYitJm/LwHhp29cVtN6Nj2n/w6bD2omxDxt7bEyLK9k=; b=FcEdk6vi7RsiOvNDxGhLvuE4EP+Nvkv8RoKdQHwrHehrmtp2o7zHXAWuTIkCPLBWQv r0d6h2PJJ9DOXIKkd+R5kUV3rmAMdx4ibjMQHuFyGWpoBdUERRLKex/36MPDO2VqnSYc 5zutKUTvmdWQE5RIp/prQ/q3VFByw/sveHDMfSdZ5kOtKPBLW/+V2jvmDso51DwoQtDJ hqQdkgvkf6rXnEQqK6b1WL7hZ0bIMsu8DyrH4v9l9tqk3wM18w9VPCE9u5Mj5Y9S7cgz yNAQfkc/oXkAGl7umAjR7maOtAUvDVmxku8hWmYZXKEBvyj9od238g5+01mfrVZP5x2I sClA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=YYitJm/LwHhp29cVtN6Nj2n/w6bD2omxDxt7bEyLK9k=; b=DuvJvm7Jp8RX4J35/d7w2ubZy0j5cP5FcReS8M3A3EdgDHtDglBrcpziCJMvU96ICi Pe5N21Ck2b3z1iU+OC2+k4Ztn11JHJkprjFNUhCkgOt7DWeX41KtsK23OkOsyiKfQ0FM vOENrqypoFcQ7qs9OdDMqWFR74IXvVCFS94lUj+b1fRol2WYhzxuRBE/UyBlj7hPi6tf WAm/4p916m8bnmqhw6VpCQTJPaX+B9wsmeiL4ZSYk7ydGWr02MFVSsGaOQb7xOh45qAN uSDHeH/dRmXKPzguOhfRU/Kno2mbDNz2QpFphC2FNlMrZioCmMcPuJrhny61h6pz0A6W kLTw== X-Gm-Message-State: APjAAAXlJj4NbNQm9LN/kii5KNttdRN7L4EHpsiPM4cJkDhKXnUbs9Os l0giFsJFPbqxfa1P9adZcMI= X-Received: by 2002:a63:f926:: with SMTP id h38mr6232479pgi.80.1564225581049; Sat, 27 Jul 2019 04:06:21 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id h1sm73716579pfo.152.2019.07.27.04.06.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jul 2019 04:06:19 -0700 (PDT) Date: Sat, 27 Jul 2019 16:36:14 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Shobhit Kukreti , Puranjay Mohan , Nathan Chancellor , Hariprasad Kelam , Madhumitha Prabakaran , Nishka Dasgupta , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: os_dep: Remove unused function argument sdio_device_id Message-ID: <20190727110614.GA4605@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove passing pdid as function argument to rtw_sdio_if1_init as it is not being used Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index 540a7ee..cefff1e 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -315,7 +315,7 @@ static void sd_intf_stop(struct adapter *padapter) } -static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct sdio_device_id *pdid) +static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj) { int status = _FAIL; struct net_device *pnetdev; @@ -473,7 +473,7 @@ static int rtw_drv_init( goto exit; } - if1 = rtw_sdio_if1_init(dvobj, id); + if1 = rtw_sdio_if1_init(dvobj); if (if1 == NULL) { DBG_871X("rtw_init_primarystruct adapter Failed!\n"); goto free_dvobj; -- 2.7.4