From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753860AbcB2QiF (ORCPT ); Mon, 29 Feb 2016 11:38:05 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:9366 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbcB2QiD (ORCPT ); Mon, 29 Feb 2016 11:38:03 -0500 From: Eric Engestrom To: "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , , CC: Eric Engestrom Subject: [PATCH] net/ipv4: remove left over dead code Date: Mon, 29 Feb 2016 16:38:06 +0000 Message-ID: <1456763886-993-1-git-send-email-eric.engestrom@imgtec.com> X-Mailer: git-send-email 2.7.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.60.4.28] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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