From: David Miller <davem@davemloft.net>
To: yuehaibing@huawei.com
Cc: linux-kernel@vger.kernel.org, tlfalcon@linux.ibm.com,
netdev@vger.kernel.org, paulus@samba.org, jallen@linux.ibm.com,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH -next] ibmvnic: remove set but not used variable 'netdev'
Date: Thu, 04 Apr 2019 17:37:11 -0700 (PDT) [thread overview]
Message-ID: <20190404.173711.500680276072818802.davem@davemloft.net> (raw)
In-Reply-To: <20190403075409.29384-1-yuehaibing@huawei.com>
From: Yue Haibing <yuehaibing@huawei.com>
Date: Wed, 3 Apr 2019 15:54:09 +0800
> From: YueHaibing <yuehaibing@huawei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/ibm/ibmvnic.c: In function '__ibmvnic_reset':
> drivers/net/ethernet/ibm/ibmvnic.c:1971:21: warning: variable 'netdev' set but not used [-Wunused-but-set-variable]
>
> It's never used since introduction in
> commit ed651a10875f ("ibmvnic: Updated reset handling")
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied.
prev parent reply other threads:[~2019-04-05 0:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 7:54 [PATCH -next] ibmvnic: remove set but not used variable 'netdev' Yue Haibing
2019-04-03 9:06 ` Mukesh Ojha
2019-04-05 0:37 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190404.173711.500680276072818802.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jallen@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=paulus@samba.org \
--cc=tlfalcon@linux.ibm.com \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).