drivers: peci: remove self-assignment
Assigning "base->ERROR" to itself has no effect. Fixes #23586 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
558b904d80
commit
24f77ca167
1 changed files with 0 additions and 1 deletions
|
@ -277,7 +277,6 @@ static int peci_xec_transfer(struct device *dev, struct peci_msg *msg)
|
||||||
LOG_WRN("Write buffer is not empty\n");
|
LOG_WRN("Write buffer is not empty\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
base->ERROR = base->ERROR;
|
|
||||||
LOG_WRN("Transaction error %x\n", base->ERROR);
|
LOG_WRN("Transaction error %x\n", base->ERROR);
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue