提交 a9d56235 编写于 作者: E Eric Engestrom 提交者: David S. Miller

net/ipv4: remove left over dead code

8cc785f6 ("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: NEric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6353e187
...@@ -1142,13 +1142,6 @@ static int ping_v4_seq_show(struct seq_file *seq, void *v) ...@@ -1142,13 +1142,6 @@ static int ping_v4_seq_show(struct seq_file *seq, void *v)
return 0; 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) static int ping_seq_open(struct inode *inode, struct file *file)
{ {
struct ping_seq_afinfo *afinfo = PDE_DATA(inode); struct ping_seq_afinfo *afinfo = PDE_DATA(inode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册