monitor: Don't check for mon_get_cpu() failure
authorMarkus Armbruster <armbru@redhat.com>
Wed, 20 Jan 2010 12:07:30 +0000 (13:07 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 20:55:10 +0000 (14:55 -0600)
commit81f72ae0084348bede1bfead0116b80c9161c921
treec1aa0a74eb6c3caadd86186ed1e11bd977e18773
parent1b20f852a844d541e5ace1afb46657a8ba90fe8c
monitor: Don't check for mon_get_cpu() failure

mon_get_cpu() can't return null pointer, because it passes its return
value to cpu_synchronize_state() first, which crashes if its argument
is null.

Remove the (pretty cheesy) handling of this non-existing error.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c