projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e50df3
)
vmalloc: remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 13 Jan 2011 23:46:15 +0000
(15:46 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:36 +0000
(17:32 -0800)
IS_ERR() already implies unlikely(), so it can be omitted here.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/vmalloc.c
b/mm/vmalloc.c
index 284346ee0e917cc7bc7f4ee6326751eb8d1677c6..cac13b415635f79e2acde68f0fee000fe500eb3d 100644
(file)
--- a/
mm/vmalloc.c
+++ b/
mm/vmalloc.c
@@
-748,7
+748,7
@@
static struct vmap_block *new_vmap_block(gfp_t gfp_mask)
va = alloc_vmap_area(VMAP_BLOCK_SIZE, VMAP_BLOCK_SIZE,
VMALLOC_START, VMALLOC_END,
node, gfp_mask);
- if (
unlikely(IS_ERR(va)
)) {
+ if (
IS_ERR(va
)) {
kfree(vb);
return ERR_CAST(va);
}