net/ipv4: remove left over dead code
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 29 Feb 2016 16:38:06 +0000 (16:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 20:00:55 +0000 (15:00 -0500)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ping.c

index 76dce90c4581c1b0e1502bcf6075716be2940ff3..cf9700b1a1061404abb62c906afac1cacb43657a 100644 (file)
@@ -1142,13 +1142,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);