Staging: rt2870: convert to netdev_ops
[cascardo/linux.git] / drivers / staging / usbip / vhci_sysfs.c
index 0fd33a6..e4c7143 100644 (file)
@@ -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);