[PATCH 2/4] bootwrapper: remove unused variable

Milton Miller miltonm at bga.com
Wed Mar 28 18:21:04 EST 2007


gunzip_util.c has a static variable state, obsured in every function
by the first passed parameter.  Looks like this got missed in an API
change during development.

Signed-off-by: Milton Miller <miltonm at bga.com>

Index: kernel/arch/powerpc/boot/gunzip_util.c
===================================================================
--- kernel.orig/arch/powerpc/boot/gunzip_util.c	2007-03-27 16:02:08.000000000 -0500
+++ kernel/arch/powerpc/boot/gunzip_util.c	2007-03-27 16:02:11.000000000 -0500
@@ -14,8 +14,6 @@
 #include "ops.h"
 #include "gunzip_util.h"
 
-struct gunzip_state state;
-
 #define HEAD_CRC	2
 #define EXTRA_FIELD	4
 #define ORIG_NAME	8



More information about the Linuxppc-dev mailing list