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: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NTyler Hicks <tyhicks@canonical.com>
Showing
想要评论请 注册 或 登录