From: Sagi Grimberg Date: Wed, 13 Aug 2014 16:54:30 +0000 (+0300) Subject: IB/iser: Remove redundant assignment X-Git-Tag: firefly_0821_release~176^2~2998^2^3~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6f5f8a016edf6c469d01c9bc563f6d74d12672d9;p=firefly-linux-kernel-4.4.55.git IB/iser: Remove redundant assignment We clear the struct before - no need to do 0 assignment. Signed-off-by: Sagi Grimberg Signed-off-by: Roland Dreier --- 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: