diff options
| author | 2022-09-01 07:27:11 +0200 | |
|---|---|---|
| committer | 2022-09-26 14:02:21 -0400 | |
| commit | d44899b8bb0b919f923186c616a84f0e70e04772 (patch) | |
| tree | 39cd1ed13b1481e44bfea3497f8fef5ee0824296 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | nfsd: Fix a memory leak in an error handling path (diff) | |
| download | linux-dev-d44899b8bb0b919f923186c616a84f0e70e04772.tar.xz linux-dev-d44899b8bb0b919f923186c616a84f0e70e04772.zip | |
nfsd: Avoid some useless tests
memdup_user() can't return NULL, so there is no point for checking for it.
Simplify some tests accordingly.
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
