|
@@ -278,8 +278,7 @@ static int sync_pcpu(uint32_t cpu, uint32_t *max_cpu)
|
|
* Only those at cpu present map has its sys interface.
|
|
* Only those at cpu present map has its sys interface.
|
|
*/
|
|
*/
|
|
if (info->flags & XEN_PCPU_FLAGS_INVALID) {
|
|
if (info->flags & XEN_PCPU_FLAGS_INVALID) {
|
|
- if (pcpu)
|
|
|
|
- unregister_and_remove_pcpu(pcpu);
|
|
|
|
|
|
+ unregister_and_remove_pcpu(pcpu);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|