From: Eric Sesterhenn / snakebyte Date: Thu, 26 Jan 2006 21:02:43 +0000 (+0100) Subject: [PATCH] BUG_ON() Conversion in net/tulip/de2104x.c X-Git-Tag: v2.6.17-rc1~1186^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e0b58f32fb5e9c958078a6d722a7d0b230346a7;p=pandora-kernel.git [PATCH] BUG_ON() Conversion in net/tulip/de2104x.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away One of the if()s contains a call to de_is_running(), which seems to be safe to replace, but someone with more knownledge of the code might want to verify this... Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed