Changeset 3de8aaa6 in mainline


Ignore:
Timestamp:
2013-01-11T01:34:35Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd8db93
Parents:
bedd81b
Message:

arm32, fpu:Remove useless double check form fpu context save/restore.

Those pointer are null if we don't have fpu access.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/fpu_context.c

    rbedd81b r3de8aaa6  
    290290void fpu_context_save(fpu_context_t *ctx)
    291291{
    292         /* Check if we have access */
    293         if (!fpu_have_coprocessor_access())
    294                 return;
    295 
    296292        /* This is only necessary if we enable fpu exceptions. */
    297293#if 0
     
    309305void fpu_context_restore(fpu_context_t *ctx)
    310306{
    311         /* Check if we have access */
    312         if (!fpu_have_coprocessor_access())
    313                 return;
    314307        if (restore_context)
    315308                restore_context(ctx);
Note: See TracChangeset for help on using the changeset viewer.