summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-09-30 22:28:34 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-01 14:34:44 -0700
commit3d1285beff2e8467b8c3884d83b7a91a99aa9fcd (patch)
treec9ef033e58d18ef1a145e6f45b60de4ec31f62ff /drivers/net
parentfb74c2fcac05fced50cd11b8e8dcecede1d4d880 (diff)
downloadlinux-3d1285beff2e8467b8c3884d83b7a91a99aa9fcd.tar.gz
linux-3d1285beff2e8467b8c3884d83b7a91a99aa9fcd.tar.bz2
linux-3d1285beff2e8467b8c3884d83b7a91a99aa9fcd.zip
move virtnet_remove to .devexit.text
The function virtnet_remove is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: David S. Miller <davem@davemloft.net> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Alex Williamson <alex.williamson@hp.com> Cc: Mark McLoughlin <markmc@redhat.com> Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/virtio_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index d445845f2779..8d009760277c 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -948,7 +948,7 @@ free:
return err;
}
-static void virtnet_remove(struct virtio_device *vdev)
+static void __devexit virtnet_remove(struct virtio_device *vdev)
{
struct virtnet_info *vi = vdev->priv;
struct sk_buff *skb;