From: Peng Li <lipeng321@huawei.com>
To: <davem@davemloft.net>, <kuba@kernel.org>, <xie.he.0141@gmail.com>,
<ms@dev.tdt.de>, <willemb@google.com>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<huangguangbin2@huawei.com>
Subject: [PATCH V2 net-next 5/7] net: hostess_sv11: remove dead code
Date: Fri, 18 Jun 2021 10:32:22 +0800 [thread overview]
Message-ID: <1623983544-39879-6-git-send-email-lipeng321@huawei.com> (raw)
In-Reply-To: <1623983544-39879-1-git-send-email-lipeng321@huawei.com>
This patch removes the dead code.
Signed-off-by: Peng Li <lipeng321@huawei.com>
---
drivers/net/wan/hostess_sv11.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/wan/hostess_sv11.c b/drivers/net/wan/hostess_sv11.c
index 7a59d7e..4e11c86 100644
--- a/drivers/net/wan/hostess_sv11.c
+++ b/drivers/net/wan/hostess_sv11.c
@@ -151,8 +151,6 @@ static int hostess_close(struct net_device *d)
static int hostess_ioctl(struct net_device *d, struct ifreq *ifr, int cmd)
{
- /* struct z8530_dev *sv11=dev_to_sv(d);
- z8530_ioctl(d,&sv11->chanA,ifr,cmd) */
return hdlc_ioctl(d, ifr, cmd);
}
--
2.8.1
next prev parent reply other threads:[~2021-06-18 2:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-18 2:32 [PATCH V2 net-next 0/7] net: hostess_sv11: clean up some code style issues Peng Li
2021-06-18 2:32 ` [PATCH V2 net-next 1/7] net: hostess_sv11: fix the code style issue about "foo* bar" Peng Li
2021-06-18 2:32 ` [PATCH V2 net-next 2/7] net: hostess_sv11: move out assignment in if condition Peng Li
2021-06-18 2:32 ` [PATCH V2 net-next 3/7] net: hostess_sv11: remove trailing whitespace Peng Li
2021-06-18 2:32 ` [PATCH V2 net-next 4/7] net: hostess_sv11: fix the code style issue about switch and case Peng Li
2021-06-18 2:32 ` Peng Li [this message]
2021-06-18 2:32 ` [PATCH V2 net-next 6/7] net: hostess_sv11: fix the comments style issue Peng Li
2021-06-18 2:32 ` [PATCH V2 net-next 7/7] net: hostess_sv11: fix the alignment issue Peng Li
2021-06-18 18:50 ` [PATCH V2 net-next 0/7] net: hostess_sv11: clean up some code style issues patchwork-bot+netdevbpf
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=1623983544-39879-6-git-send-email-lipeng321@huawei.com \
--to=lipeng321@huawei.com \
--cc=davem@davemloft.net \
--cc=huangguangbin2@huawei.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ms@dev.tdt.de \
--cc=netdev@vger.kernel.org \
--cc=willemb@google.com \
--cc=xie.he.0141@gmail.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).