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