diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-27 06:06:39 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-27 06:06:39 +0200 |
commit | fde953c1c67986e1c381fa50d8207b1578b5cefa (patch) | |
tree | a9c50baf068bf269784efc783f006bfac4fe4630 /tools/perf/util/run-command.h | |
parent | 19d2e755436054dfc2be640bffc32e427c37ac3d (diff) | |
download | linux-stable-fde953c1c67986e1c381fa50d8207b1578b5cefa.tar.gz linux-stable-fde953c1c67986e1c381fa50d8207b1578b5cefa.tar.bz2 linux-stable-fde953c1c67986e1c381fa50d8207b1578b5cefa.zip |
perf_counter tools: Remove dead code
Vince Weaver reported that there's a handful of #ifdef __MINGW32__
sections in the code.
Remove them as they are in essence dead code - as unlike upstream
Git, the perf tool is unlikely to be ported to Windows.
Reported-by: Vince Weaver <vince@deater.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/run-command.h')
-rw-r--r-- | tools/perf/util/run-command.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/util/run-command.h b/tools/perf/util/run-command.h index 328289f23669..cc1837deba88 100644 --- a/tools/perf/util/run-command.h +++ b/tools/perf/util/run-command.h @@ -79,12 +79,7 @@ struct async { int (*proc)(int fd, void *data); void *data; int out; /* caller reads from here and closes it */ -#ifndef __MINGW32__ pid_t pid; -#else - HANDLE tid; - int fd_for_proc; -#endif }; int start_async(struct async *async); |