mm/sparse: Remove unused ret in sparse_index_init
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Fri, 17 May 2013 14:10:38 +0000 (22:10 +0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 May 2013 10:02:13 +0000 (12:02 +0200)
commit9d1936cf86be8dc0cc27365bd8f1efdf23941961
tree4d25dd012f0ea3470742638dc972c852e9aa28cd
parentc2b3ebd0d21a10c7c5c44f4f3bd55d0065a86798
mm/sparse: Remove unused ret in sparse_index_init

The ret variable is not used in the function, so remove it and
directly return 0 at the end of the function.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
mm/sparse.c