diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2007-10-16 04:28:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:11 -0400 |
commit | dd8e2902d0c02ee28043071023f8fa6063fe8e8f (patch) | |
tree | d69f643551948c6bc08929759fee4b281b8aa404 /fs/ecryptfs/ecryptfs_kernel.h | |
parent | 22e78fafbdf84883f70eb4944cf658fc23c4a1f4 (diff) |
eCryptfs: remove unnecessary variable initializations
Andrew Morton wrote:
> > struct mutex *tfm_mutex = NULL;
>
> This initialisation looks like it's here to kill bogus gcc warning
> (if it is, it should have been commented). Please investigate
> uninitialized_var() and __maybe_unused sometime.
Remove some unnecessary variable initializations. There may be a few
more such intializations remaining in the code base; a future patch
will take care of those.
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions