summaryrefslogtreecommitdiff
path: root/drivers/ntb/ntb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ntb/ntb.c')
-rw-r--r--drivers/ntb/ntb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ntb/ntb.c b/drivers/ntb/ntb.c
index bdcd59b13c1f..2581ab724c34 100644
--- a/drivers/ntb/ntb.c
+++ b/drivers/ntb/ntb.c
@@ -111,7 +111,6 @@ int ntb_register_device(struct ntb_dev *ntb)
init_completion(&ntb->released);
- memset(&ntb->dev, 0, sizeof(ntb->dev));
ntb->dev.bus = &ntb_bus;
ntb->dev.parent = &ntb->pdev->dev;
ntb->dev.release = ntb_dev_release;