commit | e8a0e41266e9c207ad8ac158cee9547ef1bc90ac | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Mon Jun 13 22:16:44 2011 +0200 |
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | Sun Sep 11 15:02:10 2011 +0300 |
tree | be7ccbe744f5a71b6de19ed31e1ce31162d1c51c | |
parent | e638275e18a929103bb087acb94d2b67eb0818e0 [diff] |
jffs2: Avoid unneeded 'if' before kfree kfree() deals gracefully with NULL pointers, so it's pointless to test for one prior to calling it. This removes such a test from jffs2_scan_medium(). Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>