xen/cpupool: Fold error paths in cpupool_create()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Mar 2019 16:51:12 +0000 (16:51 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Jan 2020 12:26:45 +0000 (12:26 +0000)
commitc4f3fc12cd9706f7593016d4daf930cd50f0af32
tree5a4ab0f35431cd72445a8247f89cdeafcf1bbf8b
parent0dd92688080202adcc43dcb3486d4143110a66d5
xen/cpupool: Fold error paths in cpupool_create()

The compiler can't fold because of the write to *perr in the first hunk.

No functional change, but slightly better compiled code.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
xen/common/cpupool.c