tcmu: clean up the scatter helper
authorXiubo Li <lixiubo@cmss.chinamobile.com>
Tue, 28 Nov 2017 18:40:36 +0000 (12:40 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:16 +0000 (15:07 -0800)
commit3e60913579b2fefa74eeb3269426e864f4afa7e7
tree6b6f6b5ce54e2a90a45d36fd70bc7fc103f869f3
parent3c0f26ff9d040c6193b33689bbc03103854dba4d
tcmu: clean up the scatter helper

Add some comments to make the scatter code to be more readable,
and drop unused arg to new_iov.

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c