Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1345976 > unrolled thread

[PATCH] net/ipv4: remove left over dead code

Started byEric Engestrom <eric.engestrom@imgtec.com>
First post2016-02-29 17:40 +0100
Last post2016-03-02 21:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] net/ipv4: remove left over dead code Eric Engestrom <eric.engestrom@imgtec.com> - 2016-02-29 17:40 +0100
    Re: [PATCH] net/ipv4: remove left over dead code David Miller <davem@davemloft.net> - 2016-03-02 21:10 +0100

#1345976 — [PATCH] net/ipv4: remove left over dead code

FromEric Engestrom <eric.engestrom@imgtec.com>
Date2016-02-29 17:40 +0100
Subject[PATCH] net/ipv4: remove left over dead code
Message-ID<r7z1x-5sW-25@gated-at.bofh.it>
8cc785f6f429c2a3fb81745dc142cbd72a462c4a ("net: ipv4: make the ping
/proc code AF-independent") removed the code using it, but renamed this
variable instead of removing it.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---
 net/ipv4/ping.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c
index d3a2716..35179fc 100644
--- a/net/ipv4/ping.c
+++ b/net/ipv4/ping.c
@@ -1140,13 +1140,6 @@ static int ping_v4_seq_show(struct seq_file *seq, void *v)
 	return 0;
 }
 
-static const struct seq_operations ping_v4_seq_ops = {
-	.show		= ping_v4_seq_show,
-	.start		= ping_v4_seq_start,
-	.next		= ping_seq_next,
-	.stop		= ping_seq_stop,
-};
-
 static int ping_seq_open(struct inode *inode, struct file *file)
 {
 	struct ping_seq_afinfo *afinfo = PDE_DATA(inode);
-- 
2.7.1

[toc] | [next] | [standalone]


#1348448

FromDavid Miller <davem@davemloft.net>
Date2016-03-02 21:10 +0100
Message-ID<r8lfP-4Ej-17@gated-at.bofh.it>
In reply to#1345976
From: Eric Engestrom <eric.engestrom@imgtec.com>
Date: Mon, 29 Feb 2016 16:38:06 +0000

> 8cc785f6f429c2a3fb81745dc142cbd72a462c4a ("net: ipv4: make the ping
> /proc code AF-independent") removed the code using it, but renamed this
> variable instead of removing it.
> 
> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web