From: Uwe Kleine-König Date: Wed, 30 Sep 2009 22:28:34 +0000 (+0000) Subject: move virtnet_remove to .devexit.text X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d1285beff2e8467b8c3884d83b7a91a99aa9fcd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Sam Ravnborg Cc: David S. Miller Cc: Rusty Russell Cc: Alex Williamson Cc: Mark McLoughlin Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: David S. Miller --- 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;