Skip to content
Commit 2f10fdcb authored by NeilBrown's avatar NeilBrown Committed by J. Bruce Fields
Browse files

nfsd4: remove pointless strdup_if_nonnull



kstrdup() already checks for NULL.

(Brought to our attention by Jason Yann noticing (from sparse output)
that it should have been declared static.)

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Reported-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 16719199
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment