mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
drivers: net: fsl-mc: remove useless assignment of variable
The cur_ptr variable is set to the start of the log buffer but then it's not used. Just remove the assignment altogether. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
parent
21a265c0d1
commit
32221ee236
1 changed files with 0 additions and 1 deletions
|
@ -1796,7 +1796,6 @@ static void mc_dump_log(void)
|
|||
if (size > bytes_end) {
|
||||
print_k_bytes(cur_ptr, &bytes_end);
|
||||
|
||||
cur_ptr = buf;
|
||||
size -= bytes_end;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue