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)
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>

No differences found