On 7/12/22 13:47, Hans Verkuil wrote: > Fix a smatch error: > > drivers/media/platform/qcom/venus/helpers.c: drivers/media/platform/qcom/venus/helpers.c:678 venus_helper_get_bufreq() error: we previously assumed 'req' could be null (see line 674) > > After checking how venus_helper_get_bufreq() is called it is clear that > req is never NULL, so just drop the checks. > > Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx> > --- > drivers/media/platform/qcom/venus/helpers.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) Acked-by: Stanimir Varbanov <stanimir.varbanov@xxxxxxxxxx> -- regards, Stan