summaryrefslogtreecommitdiff
path: root/drivers/target/iscsi/iscsi_target_tq.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-11-29 23:29:01 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-12-08 05:55:44 +0400
commited72a4d52add345595f09b360d6ac5f20428d361 (patch)
tree6ad4f0a9313fc390b7ec6799560b2a0d10207e1a /drivers/target/iscsi/iscsi_target_tq.c
parent778229af95977a4aca8656143d457401c2bb8f96 (diff)
downloadlinux-ed72a4d52add345595f09b360d6ac5f20428d361.tar.xz
iscsi-target: use kstrdup() for iscsi_param
The kmalloc() + strlen() + memcpy() block is what kstrdup() does as well. While here I also removed the "to NULL assignment" of pointers which are fed to kfree or thrown away anyway. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_tq.c')
0 files changed, 0 insertions, 0 deletions