Commit 6d83d800 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'tee-smatch-for-5.8' of...

Merge tag 'tee-smatch-for-5.8' of git://git.linaro.org/people/jens.wiklander/linux-tee into arm/drivers

tee: remove unnecessary NULL check in tee_shm_alloc()

* tag 'tee-smatch-for-5.8' of git://git.linaro.org/people/jens.wiklander/linux-tee:
  tee: remove unnecessary NULL check in tee_shm_alloc()

Link: https://lore.kernel.org/r/20200504181333.GA11018@jadeSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents b4e3b881 1115899e
......@@ -162,7 +162,6 @@ struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags)
}
}
if (ctx)
teedev_ctx_get(ctx);
return shm;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment