]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: remove kfree() redundant null checks
authorTim Gardner <tim.gardner@canonical.com>
Tue, 12 Feb 2013 20:03:42 +0000 (13:03 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 17 Feb 2013 20:27:21 +0000 (15:27 -0500)
commita0ebc83106579bbdba2ab3f3085b52988b76e08b
treee53bf6d01561b69eca6e3b893a6fed999fb13e03
parent8adef17de686f4940dd280c81c9d681d77411433
nfs: remove kfree() redundant null checks

smatch analysis:

fs/nfs/getroot.c:130 nfs_get_root() info: redundant null
 check on name calling kfree()

fs/nfs/unlink.c:272 nfs_async_unlink() info: redundant null
 check on devname_garbage calling kfree()

Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: linux-nfs@vger.kernel.org
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/getroot.c
fs/nfs/unlink.c