OSDN Git Service

BUG_ON() Conversion in drivers/net/
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 2 Apr 2006 11:52:48 +0000 (13:52 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 2 Apr 2006 11:52:48 +0000 (13:52 +0200)
commit5d9428de1a9785f10a4339f80b717be665ba51c7
tree27eeed8a87ef248cec694032463f0d8f3b38fbcc
parent7e99e9b66336565f0088ea59d848ab187f9689c3
BUG_ON() Conversion in drivers/net/

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
15 files changed:
drivers/net/8139cp.c
drivers/net/arcnet/arcnet.c
drivers/net/b44.c
drivers/net/chelsio/sge.c
drivers/net/e1000/e1000_main.c
drivers/net/eql.c
drivers/net/irda/sa1100_ir.c
drivers/net/ne2k-pci.c
drivers/net/ns83820.c
drivers/net/starfire.c
drivers/net/tg3.c
drivers/net/tokenring/abyss.c
drivers/net/tokenring/madgemc.c
drivers/net/wireless/ipw2200.c
drivers/net/yellowfin.c