mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 05:00:08 +02:00
util/nvmutil: minor code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -560,8 +560,6 @@ cmd_copy(void)
|
|||||||
* read_gbe() already performed the copy,
|
* read_gbe() already performed the copy,
|
||||||
* by virtue of inverted read. We need
|
* by virtue of inverted read. We need
|
||||||
* only set the other part as changed.
|
* only set the other part as changed.
|
||||||
*
|
|
||||||
* THIS IS NOT A BUG!
|
|
||||||
*/
|
*/
|
||||||
part_modified[part ^ 1] = 1;
|
part_modified[part ^ 1] = 1;
|
||||||
}
|
}
|
||||||
@@ -584,8 +582,6 @@ cmd_swap(void)
|
|||||||
* read_gbe() already performed the swap,
|
* read_gbe() already performed the swap,
|
||||||
* by virtue of inverted read. We need
|
* by virtue of inverted read. We need
|
||||||
* only set both parts as changed.
|
* only set both parts as changed.
|
||||||
*
|
|
||||||
* THIS IS NOT A BUG!
|
|
||||||
*/
|
*/
|
||||||
part_modified[1] = part_modified[0] = 1;
|
part_modified[1] = part_modified[0] = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user