summaryrefslogtreecommitdiffstats
path: root/lib/cmdlinepart.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-05-27 22:58:52 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-28 10:17:02 +0200
commit6ce2ee8ce47afb21aaaa8cfee4fca744ebf520a9 (patch)
tree2d76f067ecc55890943e651bc50f70f8e3ba27c7 /lib/cmdlinepart.c
parent0ac711f382b5695846b76880b9d7bcf43f93faa1 (diff)
downloadbarebox-6ce2ee8ce47afb21aaaa8cfee4fca744ebf520a9.tar.gz
barebox-6ce2ee8ce47afb21aaaa8cfee4fca744ebf520a9.tar.xz
libfile: Simplify read_full()
We can figure out the amount of written data by substracting 'insize' from 'size' so there is no need to keep a separate counter for that. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions