diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-10-01 00:28:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-01 23:34:44 +0200 |
commit | 3d1285beff2e8467b8c3884d83b7a91a99aa9fcd (patch) | |
tree | c9ef033e58d18ef1a145e6f45b60de4ec31f62ff /drivers/net/virtio_net.c | |
parent | don't use __devexit_p to wrap sgiseeq_remove (diff) | |
download | linux-3d1285beff2e8467b8c3884d83b7a91a99aa9fcd.tar.xz 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 '')
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
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; |