Skip to content

Commit da4fa3d

Browse files
Sam Pricedzbaker
authored andcommitted
Remove softsleep, as a dead store.
1 parent a9fece5 commit da4fa3d

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/os/posix/inc/os-impl-timebase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ typedef struct
3838
int assigned_signal;
3939
sigset_t sigset;
4040
sig_atomic_t reset_flag;
41-
struct timespec softsleep;
4241
} OS_impl_timebase_internal_record_t;
4342

4443
/****************************************************************************************

src/os/posix/src/os-impl-timebase.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ int32 OS_TimeBaseCreate_Impl(const OS_object_token_t *token)
355355
}
356356

357357
local->assigned_signal = 0;
358-
clock_gettime(OS_PREFERRED_CLOCK, &local->softsleep);
359358

360359
/*
361360
* Set up the necessary OS constructs

src/os/rtems/inc/os-impl-timebase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ typedef struct
3838
int assigned_signal;
3939
sigset_t sigset;
4040
sig_atomic_t reset_flag;
41-
struct timespec softsleep;
4241
} OS_impl_timebase_internal_record_t;
4342

4443
/****************************************************************************************

0 commit comments

Comments
 (0)