cxl/hdm: Use local hdm variable
Save a few characters and use the already initialized local variable. Signed-off-by: Ben Widawsky <bwidawsk@kernel.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Adam Manzanares <a.manzanares@samsung.com> Link: https://lore.kernel.org/r/165603872171.551046.913207574344536475.stgit@dwillia2-xfh Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
fe80f1ad59
commit
04ed37a2ba
@ -251,8 +251,7 @@ int devm_cxl_enumerate_decoders(struct cxl_hdm *cxlhdm)
|
||||
return PTR_ERR(cxld);
|
||||
}
|
||||
|
||||
rc = init_hdm_decoder(port, cxld, target_map,
|
||||
cxlhdm->regs.hdm_decoder, i);
|
||||
rc = init_hdm_decoder(port, cxld, target_map, hdm, i);
|
||||
if (rc) {
|
||||
put_device(&cxld->dev);
|
||||
failed++;
|
||||
|
Loading…
Reference in New Issue
Block a user