move virtnet_remove to .devexit.text
authorUwe Kleine-König <[email protected]>
Wed, 30 Sep 2009 22:28:34 +0000 (22:28 +0000)
committerDavid S. Miller <[email protected]>
Thu, 1 Oct 2009 21:34:44 +0000 (14:34 -0700)
The function virtnet_remove is used only wrapped by __devexit_p so define
it using __devexit.

Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Alex Williamson <[email protected]>
Cc: Mark McLoughlin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
drivers/net/virtio_net.c

index d445845f2779ce1b57d6560fac856d4f9fe07888..8d009760277cede76fead3a54edf2c7669a7acbc 100644 (file)
@@ -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;