projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dt-bindings: usb: usb-nop-xceiv: Convert to DT schema
[linux-2.6-microblaze.git]
/
mm
/
swap_slots.c
diff --git
a/mm/swap_slots.c
b/mm/swap_slots.c
index
0357fbe
..
be9de6d
100644
(file)
--- a/
mm/swap_slots.c
+++ b/
mm/swap_slots.c
@@
-193,8
+193,7
@@
static void drain_slots_cache_cpu(unsigned int cpu, unsigned int type,
cache->slots_ret = NULL;
}
spin_unlock_irq(&cache->free_lock);
- if (slots)
- kvfree(slots);
+ kvfree(slots);
}
}