diff options
| author | 2020-04-07 12:30:28 +0300 | |
|---|---|---|
| committer | 2020-04-20 13:12:01 +0200 | |
| commit | 1115899e7aad71bc36100c3fa1d0b99cff9263e6 (patch) | |
| tree | 2f1021baa0381ce6ecbd76d7f9fd2721095bf3ec /include/rdma/git:/ssh: | |
| parent | Linux 5.7-rc2 (diff) | |
tee: remove unnecessary NULL check in tee_shm_alloc()
Smatch complains that "ctx" isn't checked consistently:
drivers/tee/tee_shm.c:164 tee_shm_alloc()
warn: variable dereferenced before check 'ctx' (see line 95)
I audited the callers and "ctx" can't be NULL so the check can be
removed.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'include/rdma/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
