diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-12-07 00:53:46 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-04 12:06:23 +0100 |
commit | 455466400c4164c14756113405fa5e00dea399a4 (patch) | |
tree | 912569828d0e4e4c52bd39d0509714fe89bd1652 /drivers/staging | |
parent | 5dda1b346d183a7c3b0a0d13c90546ff03bf63a9 (diff) |
media: ti-vpe: cal: Drop unneeded check in cal_calc_format_size()
The cal_calc_format_size() function checks that the passed fmtinfo
argument is not NULL. All callers ensure that the pointer is valid. Drop
the check.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions