diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-09-01 08:27:11 +0300 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 21:02:21 +0300 |
| commit | d44899b8bb0b919f923186c616a84f0e70e04772 (patch) | |
| tree | 39cd1ed13b1481e44bfea3497f8fef5ee0824296 /net/lapb/lapb_timer.c | |
| parent | fd1ef88049de09bc70d60b549992524cfc0e66ff (diff) | |
| download | linux-d44899b8bb0b919f923186c616a84f0e70e04772.tar.xz | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
