req_table is allocate by kzalloc, so we don't need to
zero it again anyway.
Signed-off-by: Shawn Lin
---
drivers/scsi/esas2r/esas2r_init.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/scsi/esas2r/esas2r_init.c
b/drivers/scsi/esas2r/esas2r_init.c
index 78ce4d61..d6
We don't need to use kzalloc as we will always memset the
local_atto_ioctl later.
Signed-off-by: Shawn Lin
---
drivers/scsi/esas2r/esas2r_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/esas2r/esas2r_main.c
b/drivers/scsi/esas2r/esas2r_main.c
Aligned check with page size can be replaced with PAGE_ALIGNED
to simplify the code.
Signed-off-by: Shawn Lin
---
drivers/scsi/vmw_pvscsi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/vmw_pvscsi.c b/drivers/scsi/vmw_pvscsi.c
index 6164634
3 matches
Mail list logo