mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
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 <[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]>
This commit is contained in:
committed by
David S. Miller
parent
fb74c2fcac
commit
3d1285beff
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user