summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-08-13 19:54:30 +0300
committerRoland Dreier <roland@purestorage.com>2014-10-09 00:10:53 -0700
commit6f5f8a016edf6c469d01c9bc563f6d74d12672d9 (patch)
tree357b7b636db632308860fc4bd0a65d5a1a2b00db
parentfd22f78cf7b95102d8e5b988afe27165e47471fc (diff)
downloadtalos-obmc-linux-6f5f8a016edf6c469d01c9bc563f6d74d12672d9.tar.gz
talos-obmc-linux-6f5f8a016edf6c469d01c9bc563f6d74d12672d9.zip
IB/iser: Remove redundant assignment
We clear the struct before - no need to do 0 assignment. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--drivers/infiniband/ulp/iser/iser_memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_memory.c b/drivers/infiniband/ulp/iser/iser_memory.c
index de4db762dc77..d4f12245867e 100644
--- a/drivers/infiniband/ulp/iser/iser_memory.c
+++ b/drivers/infiniband/ulp/iser/iser_memory.c
@@ -510,7 +510,6 @@ iser_set_prot_checks(struct scsi_cmnd *sc, u8 *mask)
{
switch (scsi_get_prot_type(sc)) {
case SCSI_PROT_DIF_TYPE0:
- *mask = 0x0;
break;
case SCSI_PROT_DIF_TYPE1:
case SCSI_PROT_DIF_TYPE2:
OpenPOWER on IntegriCloud