Changeset c81132d in mainline for kernel/arch/ia32/src


Ignore:
Timestamp:
2017-12-09T21:25:14Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1afa94d
Parents:
94e3a03
Message:

Replace casts from non-bool to bool with explicit equality check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/smp/mps.c

    r94e3a03 rc81132d  
    9191                return false;
    9292       
    93         return (bool) ((processor_entries[i].cpu_flags & 0x01) == 0x01);
     93        return ((processor_entries[i].cpu_flags & 0x01) == 0x01);
    9494}
    9595
     
    9898        assert(i < processor_entry_cnt);
    9999       
    100         return (bool) ((processor_entries[i].cpu_flags & 0x02) == 0x02);
     100        return ((processor_entries[i].cpu_flags & 0x02) == 0x02);
    101101}
    102102
Note: See TracChangeset for help on using the changeset viewer.