aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
index 44b9e5be6687..f1b7a0f2beed 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -1708,7 +1708,6 @@ static ssize_t srp_create_target(struct class_device *class_dev,
1708 target_host->max_lun = SRP_MAX_LUN; 1708 target_host->max_lun = SRP_MAX_LUN;
1709 1709
1710 target = host_to_target(target_host); 1710 target = host_to_target(target_host);
1711 memset(target, 0, sizeof *target);
1712 1711
1713 target->io_class = SRP_REV16A_IB_IO_CLASS; 1712 target->io_class = SRP_REV16A_IB_IO_CLASS;
1714 target->scsi_host = target_host; 1713 target->scsi_host = target_host;