diff options
Diffstat (limited to 'drivers/s390/cio/ccwgroup.c')
-rw-r--r-- | drivers/s390/cio/ccwgroup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/s390/cio/ccwgroup.c b/drivers/s390/cio/ccwgroup.c index e5ccda63e883..b0a18f5176aa 100644 --- a/drivers/s390/cio/ccwgroup.c +++ b/drivers/s390/cio/ccwgroup.c | |||
@@ -359,7 +359,6 @@ ccwgroup_probe (struct device *dev) | |||
359 | if ((ret = device_create_file(dev, &dev_attr_online))) | 359 | if ((ret = device_create_file(dev, &dev_attr_online))) |
360 | return ret; | 360 | return ret; |
361 | 361 | ||
362 | pr_debug("%s: device %s\n", __func__, gdev->dev.bus_id); | ||
363 | ret = gdrv->probe ? gdrv->probe(gdev) : -ENODEV; | 362 | ret = gdrv->probe ? gdrv->probe(gdev) : -ENODEV; |
364 | if (ret) | 363 | if (ret) |
365 | device_remove_file(dev, &dev_attr_online); | 364 | device_remove_file(dev, &dev_attr_online); |
@@ -376,8 +375,6 @@ ccwgroup_remove (struct device *dev) | |||
376 | gdev = to_ccwgroupdev(dev); | 375 | gdev = to_ccwgroupdev(dev); |
377 | gdrv = to_ccwgroupdrv(dev->driver); | 376 | gdrv = to_ccwgroupdrv(dev->driver); |
378 | 377 | ||
379 | pr_debug("%s: device %s\n", __func__, gdev->dev.bus_id); | ||
380 | |||
381 | device_remove_file(dev, &dev_attr_online); | 378 | device_remove_file(dev, &dev_attr_online); |
382 | 379 | ||
383 | if (gdrv && gdrv->remove) | 380 | if (gdrv && gdrv->remove) |