commit | 1021cd56772b636ebccc3941c44094ef6b0fac4e | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Mar 25 16:32:19 2019 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Mar 25 18:02:30 2019 -0400 |
tree | aa3969800b5f1bcc93eb05da7b77c99bbbcb5d5a | |
parent | 4f777d011bdd9e78fcf02701e89c8be457504a6c [diff] |
media: sti/delta: remove uneeded check At the error logic, ipc_buf was already asigned to &ctx->ipc_buf_struct, with can't be null, as warned by smatch: drivers/media/platform/sti/delta/delta-ipc.c:223 delta_ipc_open() warn: variable dereferenced before check 'ctx->ipc_buf' (see line 183) So, remove the uneeded check. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>