Skip to contentSkip to conversation

sfc: Remove ridiculously paranoid assertions

PATCH In review Ben Hutchings 1 participant 1 message Nov 24, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/17 sfc: Remove ridiculously paranoid assertions

---
 drivers/net/sfc/rx.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/net/sfc/rx.c +0 -3
index 32cfe40..c407352 100644
@@ -586,9 +586,6 @@ void __efx_rx_packet(struct efx_channel *channel,
 	/* We now own the SKB */
 	skb = rx_buf->skb;
 	rx_buf->skb = NULL;
-
-	EFX_BUG_ON_PARANOID(rx_buf->page);
-	EFX_BUG_ON_PARANOID(rx_buf->skb);
 	EFX_BUG_ON_PARANOID(!skb);
 
 	/* Set the SKB flags */
Signature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.