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:
parent
9c91fa36b6
commit
0e96322b24
|
@ -121,7 +121,6 @@ static void nfs_netns_client_release(struct kobject *kobj)
|
||||||
struct nfs_netns_client,
|
struct nfs_netns_client,
|
||||||
kobject);
|
kobject);
|
||||||
|
|
||||||
if (c->identifier)
|
|
||||||
kfree(c->identifier);
|
kfree(c->identifier);
|
||||||
kfree(c);
|
kfree(c);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue