diff options
author | Harsh Prateek Bora <harsh@linux.vnet.ibm.com> | 2012-07-20 18:52:14 +0530 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-14 10:40:39 +0100 |
commit | fd82f015a1cc2df5972f06b75b350f65da68f9cf (patch) | |
tree | fd07a03f2cea80dacc050ebb93cfd1fb90806718 /trace/simple.c | |
parent | 83d35d3e9909614e952021a92dbb39421977affc (diff) | |
download | qemu-fd82f015a1cc2df5972f06b75b350f65da68f9cf.zip qemu-fd82f015a1cc2df5972f06b75b350f65da68f9cf.tar.gz qemu-fd82f015a1cc2df5972f06b75b350f65da68f9cf.tar.bz2 |
trace: drop unused TraceBufferRecord->next_tbuf_idx field
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'trace/simple.c')
-rw-r--r-- | trace/simple.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/trace/simple.c b/trace/simple.c index a0e0f05..4fed07f 100644 --- a/trace/simple.c +++ b/trace/simple.c @@ -231,8 +231,6 @@ int trace_record_start(TraceBufferRecord *rec, TraceEventID event, size_t datasi } idx = old_idx % TRACE_BUF_LEN; - /* To check later if threshold crossed */ - rec->next_tbuf_idx = new_idx % TRACE_BUF_LEN; rec_off = idx; rec_off = write_to_buffer(rec_off, &event, sizeof(event)); |