The commit
ac65764c65d8 ("pass: hal: Assign resource name directly
instead of copying it) doesn't remove the unused variable. This patch
removes the unused variable to remove the build warning.
Change-Id: Ice9fe962c6ad5a4ec3941baabe0323b1d6748858
Fixes: ac65764c65d8 ("pass: hal: Assign resource name directly instead of copying it)
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
const char *name;
int res_type;
int ret;
- int len;
if (!res)
return -EINVAL;