projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd22f78
)
IB/iser: Remove redundant assignment
author
Sagi Grimberg
<sagig@mellanox.com>
Wed, 13 Aug 2014 16:54:30 +0000
(19:54 +0300)
committer
Roland Dreier
<roland@purestorage.com>
Thu, 9 Oct 2014 07:10:53 +0000
(
00:10
-0700)
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>
drivers/infiniband/ulp/iser/iser_memory.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/iser/iser_memory.c
b/drivers/infiniband/ulp/iser/iser_memory.c
index de4db762dc778fedf4bd3ce0145a35ac79e8fcf4..d4f12245867ea6408dceaaf3411b4d09871de35e 100644
(file)
--- 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: