diff options
author | Laurentiu Palcu <laurentiu.palcu@nxp.com> | 2018-11-14 14:55:55 +0200 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:35:18 +0800 |
commit | 2a25f920507b764c9b8018d9fdcb6efce6e11b77 (patch) | |
tree | 1bacb7eae94e2b1244e1d6aa6719a81e52622e44 /drivers/video | |
parent | e2608916d4c92f645f277355e30fdcd3482fe34f (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/mxc/imx_dcss.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/video/fbdev/mxc/imx_dcss.c b/drivers/video/fbdev/mxc/imx_dcss.c index 0da21d458211..d2403314addb 100644 --- a/drivers/video/fbdev/mxc/imx_dcss.c +++ b/drivers/video/fbdev/mxc/imx_dcss.c @@ -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 */ |