aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/claw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c
index a0a4afe537d0..5c70a6599578 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -3018,10 +3018,8 @@ claw_remove_device(struct ccwgroup_device *cgdev)
3018{ 3018{
3019 struct claw_privbk *priv; 3019 struct claw_privbk *priv;
3020 3020
3021 BUG_ON(!cgdev);
3022 CLAW_DBF_TEXT_(2, setup, "%s", dev_name(&cgdev->dev)); 3021 CLAW_DBF_TEXT_(2, setup, "%s", dev_name(&cgdev->dev));
3023 priv = dev_get_drvdata(&cgdev->dev); 3022 priv = dev_get_drvdata(&cgdev->dev);
3024 BUG_ON(!priv);
3025 dev_info(&cgdev->dev, " will be removed.\n"); 3023 dev_info(&cgdev->dev, " will be removed.\n");
3026 if (cgdev->state == CCWGROUP_ONLINE) 3024 if (cgdev->state == CCWGROUP_ONLINE)
3027 claw_shutdown_device(cgdev); 3025 claw_shutdown_device(cgdev);