svn commit: trunk/busybox/miscutils
landley at busybox.net
landley at busybox.net
Mon Aug 21 16:03:39 UTC 2006
Author: landley
Date: 2006-08-21 09:03:38 -0700 (Mon, 21 Aug 2006)
New Revision: 15889
Log:
Oops, Michael pointed out that my cleanup left some dead code in there.
Modified:
trunk/busybox/miscutils/readahead.c
Changeset:
Modified: trunk/busybox/miscutils/readahead.c
===================================================================
--- trunk/busybox/miscutils/readahead.c 2006-08-21 07:24:22 UTC (rev 15888)
+++ trunk/busybox/miscutils/readahead.c 2006-08-21 16:03:38 UTC (rev 15889)
@@ -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 @@
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;
More information about the busybox-cvs
mailing list