From patchwork Thu Mar 14 02:57:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fernando Luis Vazquez Cao X-Patchwork-Id: 227433 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D614C2C00A3 for ; Thu, 14 Mar 2013 15:05:01 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750850Ab3CNEE6 (ORCPT ); Thu, 14 Mar 2013 00:04:58 -0400 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]:53794 "EHLO tama500.ecl.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829Ab3CNEE5 (ORCPT ); Thu, 14 Mar 2013 00:04:57 -0400 Received: from mfs6.rdh.ecl.ntt.co.jp (mfs6.rdh.ecl.ntt.co.jp [129.60.39.149]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id r2E44rHY032689; Thu, 14 Mar 2013 13:04:53 +0900 Received: from mfs6.rdh.ecl.ntt.co.jp (localhost.localdomain [127.0.0.1]) by mfs6.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 6F894E0177; Thu, 14 Mar 2013 13:04:53 +0900 (JST) Received: from imail1.m.ecl.ntt.co.jp (imail1.m.ecl.ntt.co.jp [129.60.5.246]) by mfs6.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 5891FE0176; Thu, 14 Mar 2013 13:04:53 +0900 (JST) Received: from [129.60.240.190] (nexus.sic.ecl.ntt.co.jp [129.60.240.190]) by imail1.m.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id r2E2vP65015876; Thu, 14 Mar 2013 11:57:52 +0900 Message-ID: <1363229845.5774.2.camel@nexus> Subject: net: clean leftover of COMPAT_NET_DEV_OPS removal From: Fernando Luis =?ISO-8859-1?Q?V=E1zquez?= Cao To: "David S. Miller" Cc: netdev@vger.kernel.org Date: Thu, 14 Mar 2013 11:57:25 +0900 Organization: NTT Open Source Software Center X-Mailer: Evolution 3.4.4-2 Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org COMPAT_NET_DEV_OPS was removed a while back and with it the definition of netdev_resync_ops() went away. Let's finish the clean-up. Signed-off-by: Fernando Luis Vazquez Cao --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -urNp linux-3.9-rc2-orig/include/linux/netdevice.h linux-3.9-rc2/include/linux/netdevice.h --- linux-3.9-rc2-orig/include/linux/netdevice.h 2013-03-11 08:54:19.000000000 +0900 +++ linux-3.9-rc2/include/linux/netdevice.h 2013-03-14 11:45:58.686715874 +0900 @@ -1684,7 +1684,6 @@ extern int netdev_refcnt_read(const st extern void free_netdev(struct net_device *dev); extern void synchronize_net(void); extern int init_dummy_netdev(struct net_device *dev); -extern void netdev_resync_ops(struct net_device *dev); extern struct net_device *dev_get_by_index(struct net *net, int ifindex); extern struct net_device *__dev_get_by_index(struct net *net, int ifindex);