projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'stable/for-linus-3.9-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
xen
/
pcpu.c
diff --git
a/drivers/xen/pcpu.c
b/drivers/xen/pcpu.c
index 0836a18675b19c38031c7da97effad4188eb6624..6536d5ab1697ba6d770a6d8b969d2340df832ec7 100644
(file)
--- a/
drivers/xen/pcpu.c
+++ b/
drivers/xen/pcpu.c
@@
-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.
*/
if (info->flags & XEN_PCPU_FLAGS_INVALID) {
- if (pcpu)
- unregister_and_remove_pcpu(pcpu);
+ unregister_and_remove_pcpu(pcpu);
return 0;
}