projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: rt2870: convert to netdev_ops
[cascardo/linux.git]
/
drivers
/
staging
/
usbip
/
vhci_sysfs.c
diff --git
a/drivers/staging/usbip/vhci_sysfs.c
b/drivers/staging/usbip/vhci_sysfs.c
index
0fd33a6
..
e4c7143
100644
(file)
--- 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);