1
0
Fork 0

MLK-20216-4: video/fbdev/imx_dcss: remove useless function call

This fixes Coverity issue since the function does nothing. The function
only returns some values which are never used.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
CC: Fancy Fang <chen.fang@nxp.com>
pull/10/head
Laurentiu Palcu 2018-11-14 14:55:55 +02:00
parent bcc3555f44
commit 80f016350a
1 changed files with 0 additions and 25 deletions

View File

@ -1211,30 +1211,6 @@ static int dcss_clks_rate_set(struct dcss_info *info)
return 0;
}
static int dcss_dec400d_config(struct dcss_info *info,
bool decompress, bool resolve)
{
struct dcss_channel_info *chan_info;
struct cbuffer *cb;
if (resolve == true)
return -EINVAL;
/* dec400d always in channel 1 */
chan_info = &info->chans.chan_info[0];
cb = &chan_info->cb;
if (decompress == true) {
/* TODO: configure decompress */
;
} else {
/* TODO: configure bypass */
;
}
return 0;
}
static int dcss_dtrc_config(uint32_t dtrc_ch,
struct dcss_info *info,
bool decompress,
@ -1311,7 +1287,6 @@ static int dcss_decomp_config(uint32_t decomp_ch, struct dcss_info *info)
switch (decomp_ch) {
case 0: /* DEC400D */
dcss_dec400d_config(info, need_decomp, need_resolve);
break;
case 1: /* DTRC1 */
case 2: /* DTRC2 */