Changeset da0cbef2 in rtems


Ignore:
Timestamp:
Jul 16, 2018, 6:22:57 AM (3 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1b57b75
Parents:
6ec7f21
git-author:
Sebastian Huber <sebastian.huber@…> (07/16/18 06:22:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/16/18 07:15:43)
Message:

score: Avoid structurally dead code

This was spotted by Coverity Scan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/threadimpl.h

    r6ec7f21 rda0cbef2  
    17891789)
    17901790{
    1791   bool success;
    17921791#if defined(RTEMS_SMP)
    17931792  return _Atomic_Compare_exchange_uint(
     
    17991798  );
    18001799#else
     1800  bool      success;
    18011801  ISR_Level level;
    18021802
     
    18101810
    18111811  _ISR_Local_enable( level );
    1812 #endif
    1813 
    18141812  return success;
     1813#endif
    18151814}
    18161815
Note: See TracChangeset for help on using the changeset viewer.