diff options
author | Sagi Grimberg | 2014-08-13 19:54:30 +0300 |
---|---|---|
committer | Roland Dreier | 2014-10-09 00:10:53 -0700 |
commit | 6f5f8a016edf6c469d01c9bc563f6d74d12672d9 (patch) | |
tree | 357b7b636db632308860fc4bd0a65d5a1a2b00db /drivers/infiniband | |
parent | fd22f78cf7b95102d8e5b988afe27165e47471fc (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')
-rw-r--r-- | drivers/infiniband/ulp/iser/iser_memory.c | 1 |
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: |