Skip to content
Snippets Groups Projects
Commit 214b3f31 authored by Pavel Machek's avatar Pavel Machek Committed by Tom Rini
Browse files

cleanup disk/part.c whitespace


Cleanup disk/part.c

Signed-off-by: default avatarPavel Machek <pavel@denx.de>
parent ab7cb4ee
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,8 @@ void dev_print (block_dev_desc_t *dev_desc) ...@@ -215,7 +215,8 @@ void dev_print (block_dev_desc_t *dev_desc)
lba512 = (lba * (dev_desc->blksz/512)); lba512 = (lba * (dev_desc->blksz/512));
/* round to 1 digit */ /* round to 1 digit */
mb = lba512_muldiv(lba512, 10, 2048); /* 2048 = (1024 * 1024) / 512 MB */ /* 2048 = (1024 * 1024) / 512 MB */
mb = lba512_muldiv(lba512, 10, 2048);
mb_quot = mb / 10; mb_quot = mb / 10;
mb_rem = mb - (10 * mb_quot); mb_rem = mb - (10 * mb_quot);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment