xen/evtchn: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 14:02:20 +0000 (22:02 +0800)
committerJuergen Gross <jgross@suse.com>
Thu, 22 Dec 2016 09:04:08 +0000 (10:04 +0100)
commit2f60b28831c7e63759b59113898e6fe4dc90dd43
tree89d73950cb35df2b8ada0b26c60a40269a8fb58d
parent7ecec8503af37de6be4f96b53828d640a968705f
xen/evtchn: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/evtchn.c