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 | struct io_context { | 99 | struct io_context { |
| 100 | atomic_long_t refcount; | 100 | atomic_long_t refcount; |
| 101 | atomic_t active_ref; | 101 | atomic_t active_ref; |
| 102 | atomic_t nr_tasks; | ||
| 103 | 102 | ||
| 104 | /* all the fields below are protected by this lock */ | 103 | /* all the fields below are protected by this lock */ |
| 105 | spinlock_t lock; | 104 | spinlock_t lock; |