OSDN Git Service

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)
commit7d8d59f260bad0b3b11dc94e88b4195a2d1798af
treed069198bc61ebebec449d2c9f28946a6bae2b1c4
parent6a0970986e425f5750b081542c340c855d8890e5
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