fs: nfs: sysfs: Remove NULL check before kfree

Remove NULL check before kfree, NULL check is taken care
on kfree.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
Saurav Girepunje 2019-10-29 14:55:22 +05:30 committed by Trond Myklebust
parent 9c91fa36b6
commit 0e96322b24
1 changed files with 1 additions and 2 deletions

View File

@ -121,8 +121,7 @@ static void nfs_netns_client_release(struct kobject *kobj)
struct nfs_netns_client,
kobject);
if (c->identifier)
kfree(c->identifier);
kfree(c->identifier);
kfree(c);
}