mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-03 18:20:25 +02:00 
			
		
		
		
	net: gemini: remove unnecessary assert
The driver does not advertize NETIF_F_FRAGLIST, the stack can't pass skbs with frags lists to the xmit function. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									23bddf692d
								
							
						
					
					
						commit
						a115d51aae
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1235,8 +1235,6 @@ static int gmac_start_xmit(struct sk_buff *skb, struct net_device *netdev)
 | 
			
		|||
	int txq_num, nfrags;
 | 
			
		||||
	union dma_rwptr rw;
 | 
			
		||||
 | 
			
		||||
	SKB_FRAG_ASSERT(skb);
 | 
			
		||||
 | 
			
		||||
	if (skb->len >= 0x10000)
 | 
			
		||||
		goto out_drop_free;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue