trace_workqueue: remove cpu_workqueue_stats->first_entry
authorZhaolei <zhaolei@cn.fujitsu.com>
Mon, 20 Apr 2009 06:59:36 +0000 (14:59 +0800)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 1 Jun 2009 23:13:46 +0000 (01:13 +0200)
commitb8867164f05791a6b5363bd51c1274e03600886e
tree781be4716c204703143db86606372b64db6dc835
parent1fdfca9c577aac96a559c1ea68f5c9156f17d636
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>
kernel/trace/trace_workqueue.c