[rtems-tools commit] record: Remove unused constant

Sebastian Huber sebh at rtems.org
Mon Nov 18 06:00:48 UTC 2019


Module:    rtems-tools
Branch:    master
Commit:    d1486f25f5ce0e07a084edd0c13d7c202a99f506
Changeset: http://git.rtems.org/rtems-tools/commit/?id=d1486f25f5ce0e07a084edd0c13d7c202a99f506

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Nov 18 06:59:19 2019 +0100

record: Remove unused constant

---

 trace/record/record-main-lttng.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/trace/record/record-main-lttng.cc b/trace/record/record-main-lttng.cc
index 4743bc1..f37106b 100644
--- a/trace/record/record-main-lttng.cc
+++ b/trace/record/record-main-lttng.cc
@@ -94,9 +94,6 @@ struct EventHeaderCompact {
   uint64_t ns;
 } __attribute__((__packed__));
 
-static const size_t kEventHeaderBits =
-    sizeof(EventHeaderCompact) * BITS_PER_CHAR;
-
 struct EventRecordItem {
   EventHeaderCompact header;
   uint64_t data;



More information about the vc mailing list