OSDN Git Service

smp: Remove unused list_head from csd
authorJan Kara <jack@suse.cz>
Mon, 24 Feb 2014 15:39:56 +0000 (16:39 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 24 Feb 2014 22:46:51 +0000 (14:46 -0800)
Now that we got rid of all the remaining code which fiddled with csd.list,
lets remove it.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/smp.h

index 6ae004e..4991c6b 100644 (file)
@@ -17,10 +17,7 @@ extern void cpu_idle(void);
 
 typedef void (*smp_call_func_t)(void *info);
 struct call_single_data {
-       union {
-               struct list_head list;
-               struct llist_node llist;
-       };
+       struct llist_node llist;
        smp_call_func_t func;
        void *info;
        u16 flags;