ext4: "ret" may be used uninitialized in ext4_lazyinit_thread()
authorTheodore Ts'o <tytso@mit.edu>
Tue, 2 Nov 2010 18:19:30 +0000 (14:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 2 Nov 2010 18:19:30 +0000 (14:19 -0400)
commitb2c78cd09b6ef78c8f20190f0b3e6df1d3651b70
treed137e42bb765f5ea2b9bf9692ab7f965422447ec
parentf4245bd4ebf903541ba758ad06c118626d8c6f18
ext4: "ret" may be used uninitialized in ext4_lazyinit_thread()

Newer GCC's reported the following build warning:

   fs/ext4/super.c: In function 'ext4_lazyinit_thread':
   fs/ext4/super.c:2702: warning: 'ret' may be used uninitialized in this function

Fix it by removing the need for the ret variable in the first place.

Signed-off-by: "Lukas Czerner" <lczerner@redhat.com>
Reported-by: "Stefan Richter" <stefanr@s5r6.in-berlin.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c