devices: fix coverity warning
devices: fix coverity warning

Type: fix

Signed-off-by: Mohsin Kazmi <3be96aed1fe21f963e790909e1d3a8e57ce776f2@cisco.com>
Change-Id: I0a58c0f54d8be31a0a78bef00152fb2cc193840e

FDio/vpp,chrisy/vpp,FDio/vpp,FDio/vpp,chrisy/vpp,chrisy/vpp,FDio/vpp,chrisy/vpp,chrisy/vpp,FDio/vpp,chrisy/vpp,FDio/vpp,chrisy/vpp,FDio/vpp,FDio/vpp,chrisy/vpp