Changeset 46b305a in mainline for kernel/generic/src/time/clock.c


Ignore:
Timestamp:
2022-08-15T16:35:04Z (20 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
61ae4b0
Parents:
ad58fd2
Message:

Remove redundant timeout→lock

See the previous commit for explanation of why we can.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/time/clock.c

    rad58fd2 r46b305a  
    163163                            link);
    164164
    165                         irq_spinlock_lock(&timeout->lock, false);
    166165                        if (current_clock_tick <= timeout->deadline) {
    167                                 irq_spinlock_unlock(&timeout->lock, false);
    168166                                break;
    169167                        }
     
    173171                        void *arg = timeout->arg;
    174172
    175                         irq_spinlock_unlock(&timeout->lock, false);
    176173                        irq_spinlock_unlock(&CPU->timeoutlock, false);
    177174
Note: See TracChangeset for help on using the changeset viewer.