Both devinfo and devdetail are non-NULL here due to the earlier check within the same function. Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>