From 54770a5d8a59e382b4bbfdab25867e88b568994d Mon Sep 17 00:00:00 2001 From: Aravind Akella Date: Fri, 11 Apr 2014 20:45:49 +0000 Subject: Remove offset checks for reserved fields in sensor_t and sensors_event_t. This reverts commit ea676f9ae6757018110532f424fa15df6704be0e. Change-Id: I4c69b46f20fa3505e062363643711991e65d6cb4 --- tests/hardware/struct-offset.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp index 0a1338a..bdb1fad 100644 --- a/tests/hardware/struct-offset.cpp +++ b/tests/hardware/struct-offset.cpp @@ -88,7 +88,6 @@ void CheckOffsets(void) { CHECK_MEMBER_AT(sensors_event_t, u64, 24, 24); CHECK_MEMBER_AT(sensors_event_t, u64.data, 24, 24); CHECK_MEMBER_AT(sensors_event_t, u64.step_counter, 24, 24); - CHECK_MEMBER_AT(sensors_event_t, reserved1, 88, 88); CHECK_MEMBER_AT(struct sensor_t, name, 0, 0); CHECK_MEMBER_AT(struct sensor_t, vendor, 4, 8); @@ -101,7 +100,6 @@ void CheckOffsets(void) { CHECK_MEMBER_AT(struct sensor_t, minDelay, 32, 40); CHECK_MEMBER_AT(struct sensor_t, fifoReservedEventCount, 36, 44); CHECK_MEMBER_AT(struct sensor_t, fifoMaxEventCount, 40, 48); - CHECK_MEMBER_AT(struct sensor_t, reserved, 44, 56); CHECK_MEMBER_AT(sensors_poll_device_1_t, v0, 0, 0); CHECK_MEMBER_AT(sensors_poll_device_1_t, common, 0, 0); -- cgit v1.1