]> git.baikalelectronics.ru Git - kernel.git/commit
media: ccs: The functions to get compose or crop rectangle never return NULL
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 27 May 2020 23:02:07 +0000 (01:02 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 11:27:31 +0000 (12:27 +0100)
commit16e3995b048b24a2e36bb2608c8ce5dab010cb08
treed069198bc61ebebec449d2c9f28946a6bae2b1c4
parent24b41e2728456e4360942405366ce86fb1cdc7ae
media: ccs: The functions to get compose or crop rectangle never return NULL

The NULL check is not needed as the functions do not return NULL. Remove
the check (and BUG).

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs/ccs-core.c