diff options
author | 2009-04-20 14:59:36 +0800 | |
---|---|---|
committer | 2009-06-02 01:13:46 +0200 | |
commit | b8867164f05791a6b5363bd51c1274e03600886e (patch) | |
tree | 781be4716c204703143db86606372b64db6dc835 /lib/debugobjects.c | |
parent | trace_workqueue: use list_for_each_entry() instead of list_for_each_entry_safe() (diff) | |
download | wireguard-linux-b8867164f05791a6b5363bd51c1274e03600886e.tar.xz wireguard-linux-b8867164f05791a6b5363bd51c1274e03600886e.zip |
trace_workqueue: remove cpu_workqueue_stats->first_entry
cpu_workqueue_stats->first_entry is useless because we can retrieve the
header of a cpu workqueue using:
if (&cpu_workqueue_stats->list == workqueue_cpu_stat(cpu)->list.next)
[ Impact: cleanup ]
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions