|  | @@ -874,12 +874,9 @@ void unregister_netdev ( struct net_device *netdev ) {
 | 
		
	
		
			
			| 874 | 874 |   */
 | 
		
	
		
			
			| 875 | 875 |  void netdev_irq ( struct net_device *netdev, int enable ) {
 | 
		
	
		
			
			| 876 | 876 |  
 | 
		
	
		
			
			| 877 |  | -	/* Do nothing if device does not support interrupts */
 | 
		
	
		
			
			| 878 |  | -	if ( ! netdev_irq_supported ( netdev ) )
 | 
		
	
		
			
			| 879 |  | -		return;
 | 
		
	
		
			
			| 880 |  | -
 | 
		
	
		
			
			| 881 |  | -	/* Enable or disable device interrupts */
 | 
		
	
		
			
			| 882 |  | -	netdev->op->irq ( netdev, enable );
 | 
		
	
		
			
			|  | 877 | +	/* Enable or disable device interrupts, if applicable */
 | 
		
	
		
			
			|  | 878 | +	if ( netdev_irq_supported ( netdev ) )
 | 
		
	
		
			
			|  | 879 | +		netdev->op->irq ( netdev, enable );
 | 
		
	
		
			
			| 883 | 880 |  
 | 
		
	
		
			
			| 884 | 881 |  	/* Record interrupt enabled state */
 | 
		
	
		
			
			| 885 | 882 |  	netdev->state &= ~NETDEV_IRQ_ENABLED;
 |