projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ee36c
)
Oops, Michael pointed out that my cleanup left some dead code in there.
author
Rob Landley
<rob@landley.net>
Mon, 21 Aug 2006 16:03:38 +0000
(16:03 -0000)
committer
Rob Landley
<rob@landley.net>
Mon, 21 Aug 2006 16:03:38 +0000
(16:03 -0000)
miscutils/readahead.c
patch
|
blob
|
history
diff --git
a/miscutils/readahead.c
b/miscutils/readahead.c
index
9f1bb47
..
8221bb4
100644
(file)
--- 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;