| .. | .. |
|---|
| 1293 | 1293 | u32 tf; |
|---|
| 1294 | 1294 | |
|---|
| 1295 | 1295 | tf = READ_ONCE(timer->flags); |
|---|
| 1296 | | - if (!(tf & (TIMER_MIGRATING | TIMER_IRQSAFE))) { |
|---|
| 1296 | + if (!(tf & TIMER_MIGRATING)) { |
|---|
| 1297 | 1297 | struct timer_base *base = get_timer_base(tf); |
|---|
| 1298 | 1298 | |
|---|
| 1299 | 1299 | /* |
|---|
| .. | .. |
|---|
| 1376 | 1376 | * could lead to deadlock. |
|---|
| 1377 | 1377 | */ |
|---|
| 1378 | 1378 | WARN_ON(in_irq() && !(timer->flags & TIMER_IRQSAFE)); |
|---|
| 1379 | | - |
|---|
| 1380 | | - /* |
|---|
| 1381 | | - * Must be able to sleep on PREEMPT_RT because of the slowpath in |
|---|
| 1382 | | - * del_timer_wait_running(). |
|---|
| 1383 | | - */ |
|---|
| 1384 | | - if (IS_ENABLED(CONFIG_PREEMPT_RT) && !(timer->flags & TIMER_IRQSAFE)) |
|---|
| 1385 | | - lockdep_assert_preemption_enabled(); |
|---|
| 1386 | 1379 | |
|---|
| 1387 | 1380 | do { |
|---|
| 1388 | 1381 | ret = try_to_del_timer_sync(timer); |
|---|