Commit 0e96322b authored by Saurav Girepunje's avatar Saurav Girepunje Committed by Trond Myklebust
Browse files

fs: nfs: sysfs: Remove NULL check before kfree



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

Signed-off-by: default avatarSaurav Girepunje <saurav.girepunje@gmail.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 9c91fa36
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -121,7 +121,6 @@ static void nfs_netns_client_release(struct kobject *kobj)
			struct nfs_netns_client,
			kobject);

	if (c->identifier)
	kfree(c->identifier);
	kfree(c);
}