media: hantro: remove a pointless NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 8 Jan 2020 05:35:34 +0000 (06:35 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 9 Jan 2020 14:35:23 +0000 (15:35 +0100)
commit0caf62c8df8d59c5c367405e3163735478292706
tree6b6715a8c9ed2148f0aadfbe563cc85936af7c9d
parent0c8c1ae155b89be7e0cd7e74494dfc83554c56d2
media: hantro: remove a pointless NULL check

This can't be NULL and we've already dereferenced it so let's remove
the check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_v4l2.c