[PATCH] BUG_ON() Conversion in net/tulip/winbond-840.c

hi,

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

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
Eric Sesterhenn / snakebyte 2006-01-26 22:02:49 +01:00 committed by Jeff Garzik
parent 7e0b58f32f
commit cca4aa83c7
1 changed files with 1 additions and 1 deletions

View File

@ -1645,7 +1645,7 @@ static int w840_suspend (struct pci_dev *pdev, pm_message_t state)
/* no more hardware accesses behind this line. */ /* no more hardware accesses behind this line. */
if (np->csr6) BUG(); BUG_ON(np->csr6);
if (ioread32(ioaddr + IntrEnable)) BUG(); if (ioread32(ioaddr + IntrEnable)) BUG();
/* pci_power_off(pdev, -1); */ /* pci_power_off(pdev, -1); */