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>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
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,
switch (decomp_ch) {
case 0: /* DEC400D */
- dcss_dec400d_config(info, need_decomp, need_resolve);
break;
case 1: /* DTRC1 */
case 2: /* DTRC2 */