]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/sh/kernel/dwarf.c: use rbtree postorder iteration helper instead of solution...
authorCody P Schafer <cody@linux.vnet.ibm.com>
Fri, 3 Jan 2014 03:10:34 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:34 +0000 (14:10 +1100)
commit1e25521bb65a6ebdb8320804d9bb1b74ecd08075
tree47b39142d417ad75d9214e12cfc134598608c1ef
parent42bb649d97772ea76652460d7e40c5cf08db3a06
arch/sh/kernel/dwarf.c: use rbtree postorder iteration helper instead of solution using repeated rb_erase()

Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead
of using repeated rb_erase() calls

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sh/kernel/dwarf.c