[[RDKB][HAL] fix coverity issue]

[Description]
Fix coverity issue in hal api

[Release-log]
N/A
Change-Id: I413004392d186304c679fa9b8bdfa06410672abe

Change-Id: I014eef9b2b15fa6bf78a0fa470b47d970d097ac5
1 file changed
tree: 3f5f8ad1fff244ca2a997189846e20aff4689cb0
  1. src/