aboutsummaryrefslogtreecommitdiff
path: root/miscutils/readahead.c
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-08-21 16:03:38 +0000
committerGravatar Rob Landley <rob@landley.net>2006-08-21 16:03:38 +0000
commit1ffe1ede543ff1155b02c5a578fc21a881ac8c00 (patch)
treeabb06b8e4679ce0749f50548b9b116be4f0bcc5e /miscutils/readahead.c
parent43ee36c6dae2c0108580f646913514050e2ef59f (diff)
downloadbusybox-1ffe1ede543ff1155b02c5a578fc21a881ac8c00.tar.gz
busybox-1ffe1ede543ff1155b02c5a578fc21a881ac8c00.tar.bz2
Oops, Michael pointed out that my cleanup left some dead code in there.
Diffstat (limited to 'miscutils/readahead.c')
-rw-r--r--miscutils/readahead.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/miscutils/readahead.c b/miscutils/readahead.c
index 9f1bb47be..8221bb4be 100644
--- a/miscutils/readahead.c
+++ b/miscutils/readahead.c
@@ -15,7 +15,6 @@
int readahead_main(int argc, char **argv)
{
FILE *f;
- struct stat stat_buf;
int retval = EXIT_SUCCESS;
if (argc == 1) bb_show_usage();
@@ -24,7 +23,6 @@ int readahead_main(int argc, char **argv)
if ((f = bb_wfopen(*argv, "r")) != NULL) {
int r, fd=fileno(f);
- xstat(*argv, &stat_buf);
r = readahead(fd, 0, fdlength(fd));
fclose(f);
if (r >= 0) continue;