hdata/iohub.c: remove condition that was always true
Caught by static analysis. The previous if() condition was ensuring lxr
was not null, so we don't need this additional check.
@@ -82,7 +82,6 @@ static bool io_get_lx_info(const void *kwvpd, unsigned int kwvpd_sz,
return false;
}
- if (lxr)
memcpy(lxrbuf, lxr, sizeof(uint32_t)*2);
prlog(PR_DEBUG, "CEC: LXRn=%d LXR=%08x%08x\n", lx_idx, lxrbuf[0], lxrbuf[1]);
