aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/initramfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/init/initramfs.c b/init/initramfs.c
index f8241e832aa3..76f4a0125338 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -390,7 +390,6 @@ static int __init write_buffer(char *buf, unsigned len)
390 return len - count; 390 return len - count;
391} 391}
392 392
393#if defined CONFIG_RD_GZIP || defined CONFIG_RD_BZIP2 || defined CONFIG_RD_LZMA
394static int __init flush_buffer(void *bufv, unsigned len) 393static int __init flush_buffer(void *bufv, unsigned len)
395{ 394{
396 char *buf = (char *) bufv; 395 char *buf = (char *) bufv;
@@ -413,7 +412,6 @@ static int __init flush_buffer(void *bufv, unsigned len)
413 } 412 }
414 return origLen; 413 return origLen;
415} 414}
416#endif
417 415
418static unsigned my_inptr; /* index of next byte to be processed in inbuf */ 416static unsigned my_inptr; /* index of next byte to be processed in inbuf */
419 417