xen: remove redundant NULL check before unregister_and_remove_pcpu().
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 12 Feb 2013 04:01:53 +0000 (05:01 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 13 Feb 2013 20:40:33 +0000 (15:40 -0500)
commit4f8c85272c5e7ea1f2fe15d866835bc6f8fc996f
tree14271e11a7ca318564d96ac1f7bd235b3b5cda1e
parent13d2b4d11d69a92574a55bfd985cfb0ca77aebdc
xen: remove redundant NULL check before unregister_and_remove_pcpu().

unregister_and_remove_pcpu on a NULL pointer is a no-op, so the NULL check in
sync_pcpu can be removed.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/pcpu.c