]> Pileus Git - ~andy/linux/commit
eCryptfs: remove unneeded checks in virt_to_scatterlist()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 26 Jan 2013 07:48:42 +0000 (10:48 +0300)
committerTyler Hicks <tyhicks@canonical.com>
Tue, 29 Jan 2013 00:38:37 +0000 (16:38 -0800)
commita07c48ad5be5cbf32a2741f10e6fbf4bbfcaa362
tree46f3dfab951daefbbb4dc74580cb364ac44cff27
parent111d61a25ec11c1837ac0fd81bf4b845d3327fb7
eCryptfs: remove unneeded checks in virt_to_scatterlist()

This is always called with a valid "sg" pointer.  My static checker
complains because the call to sg_init_table() dereferences "sg" before
we reach the checks.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/crypto.c