projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1f7afa7
)
[PATCH] blkparse: bad ncpus check
author
Jens Axboe
<axboe@suse.de>
Thu, 22 Sep 2005 14:15:45 +0000
(16:15 +0200)
committer
Jens Axboe
<axboe@suse.de>
Thu, 22 Sep 2005 14:15:45 +0000
(16:15 +0200)
blkparse.c
patch
|
blob
|
blame
|
history
diff --git
a/blkparse.c
b/blkparse.c
index 57385ec4374435f3dd496a0f16dba2dd9515c459..df724866430a2463bb0f82a09e557536faa988c4 100644
(file)
--- a/
blkparse.c
+++ b/
blkparse.c
@@
-1433,12
+1433,6
@@
static void show_entries_rb(int piped)
break;
}
- if (bit->cpu > pdi->ncpus) {
- fprintf(stderr, "Unknown CPU ID? (%d, device %d,%d)\n",
- cpu, MAJOR(bit->device), MINOR(bit->device));
- break;
- }
-
if (!pci || cpu != bit->cpu) {
cpu = bit->cpu;
pci = get_cpu_info(pdi, cpu);