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)
commit96aa1549afa6c79ae4a4f099de861efd218c38d8
treee53bf6d01561b69eca6e3b893a6fed999fb13e03
parent085b7a45c63d3da5be155faab9249a5cab224561
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