video: imx-ipu-v3: remove unneeded 'dmfc' check
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Suggested-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
3e74fd9d05
commit
521ffee526
|
@ -153,9 +153,6 @@ static int ipu_dmfc_setup_channel(struct dmfc_channel *dmfc, int slots,
|
|||
"dmfc: using %d slots starting from segment %d for IPU channel %d\n",
|
||||
slots, segment, dmfc->data->ipu_channel);
|
||||
|
||||
if (!dmfc)
|
||||
return -EINVAL;
|
||||
|
||||
switch (slots) {
|
||||
case 1:
|
||||
field = DMFC_FIFO_SIZE_64;
|
||||
|
|
Loading…
Reference in New Issue