Message ID | 20200814113933.1903438-11-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp293081ilo; Fri, 14 Aug 2020 04:40:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrL7hMuDLNEJUJuJaUi3vWAp0owLprTZ1uoNF17tA000X4CwZA8yN4lWA3oOrtPiv2bpFj X-Received: by 2002:a50:dac6:: with SMTP id s6mr1777092edj.378.1597405222679; Fri, 14 Aug 2020 04:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597405222; cv=none; d=google.com; s=arc-20160816; b=Q9oDSx3koE9+smZjac4Cv7gXkSxhs5PLfnRrVjaRa42/pxmDTpcKrBTPIBUtRRRhfF ox04rmEW9x24rg/W5pR1nuudf4hOkxHKEeCxU/73YnXek8nRPv9H0EetGSNyjdGklTy/ BJLATQJG/AcXSdMU44P8llnnXTkqXxQWz0oKronbnq9hHF8+VJO189Ifwtf+NUAHDeqG wS75sXU5kfPt6zSw5k3jIK2vQla8lJFNcWFrupxC7DV1s+4NK5U3+c1rJ8JOVmElroT/ 4MEY9nlS9UGnNoHXaAFc4IV9+SPs3g0HBfgEyIYxMOUYzTvg0sXbdzJdQBTqdNGrhAnC NixA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pTidTxM2W7rg3RCDPQVi6+bnqBimLuMVRDwTHQpG6MI=; b=jqXw5o6b8+o5nf++R/C873fA8QhyZ4E29p+cEb489y8l3cAF1jAO+9drIgZwKBiIOQ RVolQM4Tt+nYm4Id1y3PUKyC/15iRAj/3dakmUyTC3T4e+A65E1XXapiH4AOgFQPQ1Q8 XFPEHJWAjZ+zBH7nOTc5cP6KraHRi2sb9lwSdS8pvMjbRAn9vPauTo9bbCHgG3OwG4cU ZgnVpyjcX6ClJGFMSdFmIHTXgSiNyrPsXlwyHvVq7O/vANm4OnATpUZqYqf4dTzubKnk JlD/iOLDPAfqpRiGetU89KYrpLnLywwL06VeRFTs3y4rb0NshnXPahCuilzBOzBoQUN+ bCUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sTJJo5Ao; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <netdev-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si5609855ejx.280.2020.08.14.04.40.22; Fri, 14 Aug 2020 04:40:22 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-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=@linaro.org header.s=google header.b=sTJJo5Ao; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728151AbgHNLkQ (ORCPT <rfc822;patch@linaro.org> + 9 others); Fri, 14 Aug 2020 07:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728090AbgHNLj7 (ORCPT <rfc822;netdev@vger.kernel.org>); Fri, 14 Aug 2020 07:39:59 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4717AC061384 for <netdev@vger.kernel.org>; Fri, 14 Aug 2020 04:39:59 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id a14so8075291wra.5 for <netdev@vger.kernel.org>; Fri, 14 Aug 2020 04:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pTidTxM2W7rg3RCDPQVi6+bnqBimLuMVRDwTHQpG6MI=; b=sTJJo5Ao9MoWGnV5QCX1gfI+xXTHpIhbz2b7TURG/31tpUZXShHoedki9o0ukyMbcT WeQin7wucUIH/cENlQCAmqxLxnXtoWT3shSNCql8IQTAlO+WEVakfIOAvmd4+/nrgFIl mPRNqGwMafnkybiB5SOiDMAHnN9corypiRFiy4AQaqkwNH2/YpYQAReihfCZLPb0GV2K tZzhFMv/4jttwAc6jx3p69I3ekCKLngRwL9X2sssocNoNsQBmtUNA05oUBUBoACkZHy0 McwdKNFkUFSlyoPzcvhNuOmZ8tbPropQ+tGinR3r4c07PZXzsigSPMHN8fPybCslnLQ+ /0wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pTidTxM2W7rg3RCDPQVi6+bnqBimLuMVRDwTHQpG6MI=; b=kI16VEY7gzTx6AohF4TVNMI3l19m0ImTeMJuIg/J6qxckKm4Y31yscGejlGTRdUi7p bOJitH05ccxrZ3+pKLDxKTWsGGf8pQocsNh0qkJKScucl0X/zUPYfnSkURbuD3J1QdQ8 Dmf2udhZhBegKL0pXvsGo4xyhKP7y0Sxx/2Z9m37dswQUZttWTbcdfzIJttwUoQr8rku KSJNkWMxLgYKlPA52Brqc+4PqWGYQAtR4KGoTkiifI27ZQpURgUbiJhS6B3imy5A6Wkm WUor4SKwtLuIrRZgmHbcfhCENGAL0U9BPSYnnw5exXqX09fBvSxKRsWqk9ZTwom7jvsX s26A== X-Gm-Message-State: AOAM530lapqBl8bC4IohI4UR0lRW2AYwZV0r57Wxd5HbeEN1JyC2SD5G mW/w9E+CCmQ+OhNwERdIX7DdhQ== X-Received: by 2002:adf:91a1:: with SMTP id 30mr2554293wri.29.1597405198037; Fri, 14 Aug 2020 04:39:58 -0700 (PDT) Received: from dell.default ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id 32sm16409129wrh.18.2020.08.14.04.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 04:39:57 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Mike McLagan <mike.mclagan@linux.org>, netdev@vger.kernel.org Subject: [PATCH 10/30] net: wan: dlci: Remove set but not used variable 'err' Date: Fri, 14 Aug 2020 12:39:13 +0100 Message-Id: <20200814113933.1903438-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200814113933.1903438-1-lee.jones@linaro.org> References: <20200814113933.1903438-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
[01/30] net: bonding: bond_3ad: Fix a bunch of kerneldoc parameter issues
|
expand
|
diff --git a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c index 7bcee41905cfb..3ca4daf633897 100644 --- a/drivers/net/wan/dlci.c +++ b/drivers/net/wan/dlci.c @@ -295,14 +295,13 @@ static int dlci_close(struct net_device *dev) { struct dlci_local *dlp; struct frad_local *flp; - int err; netif_stop_queue(dev); dlp = netdev_priv(dev); flp = netdev_priv(dlp->slave); - err = (*flp->deactivate)(dlp->slave, dev); + (*flp->deactivate)(dlp->slave, dev); return 0; }
Fixes the following W=1 kernel build warning(s): drivers/net/wan/dlci.c: In function ‘dlci_close’: drivers/net/wan/dlci.c:298:8: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Mike McLagan <mike.mclagan@linux.org> Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/net/wan/dlci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1