diff options
author | Stoyan Gaydarov <stoyboyker@gmail.com> | 2009-03-10 00:10:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:26 -0700 |
commit | 2961f24f78f456a0a2d0dada56ee795232fe21b3 (patch) | |
tree | 9dd7147ed5076879d42bf70cb61865bc87f11313 /drivers/staging/usbip | |
parent | 0773a5c07641ddef7f94636292921e12f2efab02 (diff) |
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')
-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); |