jfs: Deletion of an unnecessary check before the function call "unload_nls"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 1 Feb 2015 16:00:24 +0000 (17:00 +0100)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 2 Feb 2015 21:02:34 +0000 (15:02 -0600)
commit648695c74811f09a8ad80d7c3be72b8169589a64
tree1e58584f7f4cd0b428c619a8ad2c363b95b64666
parente1f1fe798d2f2eab904624125ba924d08205f960
jfs: Deletion of an unnecessary check before the function call "unload_nls"

The unload_nls() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
fs/jfs/super.c