summaryrefslogtreecommitdiffstats
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-05-06 00:16:17 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2016-05-10 01:19:55 -0700
commitcb7911694771faf16930b72a104d3cd41d500e2c (patch)
treefcada664b3a61ffde1aef458707ed4796255cca3 /fs/ioctl.c
parentd94331fab6d4d48280a5cea646352db90777966d (diff)
downloadlinux-cb7911694771faf16930b72a104d3cd41d500e2c.tar.bz2
target: need_to_release is always false, remove redundant check and kfree
The removal the #ifdef'd code on CONFIG_ARCH_HAS_SG_CHAIN in commit 02c4de53add1b79 ("target/rd: always chain S/G list") removed the setting of need_to_release to true, so we are now left with need_to_release always being false and hence the conditional kfree is never reached. Clean up the dead code by removing need_to_release and the conditional kfree. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions