Skip to content

Commit

Permalink
net/ipv4: remove left over dead code
Browse files Browse the repository at this point in the history
8cc785f ("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>
  • Loading branch information
Eric Engestrom authored and David S. Miller committed Mar 2, 2016
1 parent 6353e18 commit a9d5623
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions net/ipv4/ping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a9d5623

Please sign in to comment.