mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
cleanup disk/part.c whitespace
Cleanup disk/part.c Signed-off-by: Pavel Machek <pavel@denx.de>
This commit is contained in:
@ -215,7 +215,8 @@ void dev_print (block_dev_desc_t *dev_desc)
|
||||
|
||||
lba512 = (lba * (dev_desc->blksz/512));
|
||||
/* 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_rem = mb - (10 * mb_quot);
|
||||
|
Reference in New Issue
Block a user