Checking null for array address returns true always, so -Waddress
gives build warning from gcc 12. Remove the useless null check.
Change-Id: Iaecf9f867f981eb59e39d217eb5a634e246b483a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
dec->stat |= VP9_TRIGGER_FRAME_ENABLE;
#if 1
if ((debug & IGNORE_PARAM_FROM_CONFIG) == 0 &&
- pdata->config && pdata->config_len) {
+ pdata->config_len) {
/*use ptr config for doubel_write_mode, etc*/
avs2_print(dec, 0, "pdata->config=%s\n", pdata->config);
if (get_config_int(pdata->config, "avs2_double_write_mode",