BUG_ON() Conversion in net/tulip/de2104x.c
Quoted 10 lines · Eric Sesterhenn / snakebyte
hi,
this changes
if()BUG(); constructs toBUG_ON()which is cleaner and can better optimized awayOne 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 <[email protected]>
applied 1-3 to upstream-2.6.17 branch of netdev
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors