Skip to contentSkip to conversation

net/ipv4: remove left over dead code

PATCH Applied Eric Engestrom 2 participants 2 messages Feb 29, 2016 – Mar 2, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ipv4: remove left over dead code

8cc785f6f429c2a3fb81745dc142cbd72a462c4a ("net: ipv4: make the ping /proc code AF-independent") removed the code using it, but renamed this variable instead of removing it.

---
 net/ipv4/ping.c | 7 -------
 1 file changed, 7 deletions(-)
net/ipv4/ping.c +0 -7
index d3a2716..35179fc 100644
@@ -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);
Signature · 1 line
2.7.1
maintainer Applied
#1 lore raw

From: Eric Engestrom <[email protected]>
Date: Mon, 29 Feb 2016 16:38:06 +0000

Quoted 5 lines

8cc785f6f429c2a3fb81745dc142cbd72a462c4a ("net: ipv4: make the ping /proc code AF-independent") removed the code using it, but renamed this variable instead of removing it.

Applied.