diff options
author | Stoyan Gaydarov | 2009-03-10 06:10:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-04-03 23:54:26 +0200 |
commit | 2961f24f78f456a0a2d0dada56ee795232fe21b3 (patch) | |
tree | 9dd7147ed5076879d42bf70cb61865bc87f11313 /drivers/staging/usbip/vhci_sysfs.c | |
parent | Staging: remove some pointless conditionals before kfree_skb() (diff) | |
download | kernel-qcow2-linux-2961f24f78f456a0a2d0dada56ee795232fe21b3.tar.gz kernel-qcow2-linux-2961f24f78f456a0a2d0dada56ee795232fe21b3.tar.xz kernel-qcow2-linux-2961f24f78f456a0a2d0dada56ee795232fe21b3.zip |
Staging: BUG to BUG_ON changes
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/vhci_sysfs.c')
-rw-r--r-- | drivers/staging/usbip/vhci_sysfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/usbip/vhci_sysfs.c b/drivers/staging/usbip/vhci_sysfs.c index 0fd33a62d934..e4c71435aa11 100644 --- a/drivers/staging/usbip/vhci_sysfs.c +++ b/drivers/staging/usbip/vhci_sysfs.c @@ -31,8 +31,7 @@ static ssize_t show_status(struct device *dev, struct device_attribute *attr, char *s = out; int i = 0; - if (!the_controller || !out) - BUG(); + BUG_ON(!the_controller || !out); spin_lock(&the_controller->lock); |