Nothing ever looks at ->nr_tasks, so remove it.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -99,7 +99,6 @@ struct io_cq { · 98 unmodified lines | ||
| 99 | 99 | struct io_context { |
| 100 | 100 | atomic_long_t refcount; |
| 101 | 101 | atomic_t active_ref; |
| 102 | − atomic_t nr_tasks; | |
| 103 | 102 | |
| 104 | 103 | /* all the fields below are protected by this lock */ |
| 105 | 104 | spinlock_t lock; |