mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02: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 <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>
This commit is contained in:
		
							parent
							
								
									fb74c2fcac
								
							
						
					
					
						commit
						3d1285beff
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -948,7 +948,7 @@ static int virtnet_probe(struct virtio_device *vdev)
 | 
				
			||||||
	return err;
 | 
						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 virtnet_info *vi = vdev->priv;
 | 
				
			||||||
	struct sk_buff *skb;
 | 
						struct sk_buff *skb;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue