aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-08-13 12:54:30 -0400
committerRoland Dreier <roland@purestorage.com>2014-10-09 03:10:53 -0400
commit6f5f8a016edf6c469d01c9bc563f6d74d12672d9 (patch)
tree357b7b636db632308860fc4bd0a65d5a1a2b00db /drivers/infiniband/ulp
parentfd22f78cf7b95102d8e5b988afe27165e47471fc (diff)
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>
Diffstat (limited to 'drivers/infiniband/ulp')
-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)
510{ 510{
511 switch (scsi_get_prot_type(sc)) { 511 switch (scsi_get_prot_type(sc)) {
512 case SCSI_PROT_DIF_TYPE0: 512 case SCSI_PROT_DIF_TYPE0:
513 *mask = 0x0;
514 break; 513 break;
515 case SCSI_PROT_DIF_TYPE1: 514 case SCSI_PROT_DIF_TYPE1:
516 case SCSI_PROT_DIF_TYPE2: 515 case SCSI_PROT_DIF_TYPE2: