commonlib/mipi/cmd: Remove unnecessary 'const void *' cast
The 'buf' variable is already 'const void *'. Change-Id: I0d52f7386853bf353df637085be0f38f787bf6d5 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90797 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Chen-Tsung Hsieh <chentsung@google.com>
This commit is contained in:
parent
5af56ddf92
commit
d7d4b67c6a
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ enum cb_err mipi_panel_parse_commands(const void *buf, mipi_cmd_func_t cmd_func,
|
|||
* to parse and scan.
|
||||
*/
|
||||
|
||||
for (; command->cmd != PANEL_CMD_END; command = (const void *)buf) {
|
||||
for (; command->cmd != PANEL_CMD_END; command = buf) {
|
||||
/*
|
||||
* For some commands like DELAY, the command->len should not be
|
||||
* counted for buf.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue