diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-09-30 22:28:34 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-01 21:34:44 (GMT) |
commit | 3d1285beff2e8467b8c3884d83b7a91a99aa9fcd (patch) | |
tree | c9ef033e58d18ef1a145e6f45b60de4ec31f62ff /drivers/net | |
parent | fb74c2fcac05fced50cd11b8e8dcecede1d4d880 (diff) | |
download | linux-fsl-qoriq-3d1285beff2e8467b8c3884d83b7a91a99aa9fcd.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index d445845..8d00976 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; |