]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] boot: Simplify gunzip_finish
authorMilton Miller <miltonm@bga.com>
Fri, 21 Sep 2007 23:03:52 +0000 (09:03 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 01:48:43 +0000 (11:48 +1000)
commit9d3523fb4ee1008d233f8aea71d8e3b5109dd65a
tree4ee03e6d150f7553e77a4d8d67da06711a6f5ee9
parent13f67f5ccad5f65bf97f90693ba9ef206099e698
[POWERPC] boot: Simplify gunzip_finish

Call gunzip_partial to calculate the remaining length and copy the
data to the user buffer.  This makes it shorter and reduces
duplication.

Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/gunzip_util.c