git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c1a61
)
drivers: staging: Drop unlikely before IS_ERR(_OR_NULL)
author
Viresh Kumar
<viresh.kumar@linaro.org>
Fri, 31 Jul 2015 08:38:30 +0000
(14:08 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:18:43 +0000
(16:18 -0700)
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there
is no need to do that again from its callers. Drop it.
This also replaces an IS_ERR(x) + (x == NULL) check to IS_ERR_OR_NULL
check.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ashmem.c
patch
|
blob
|
history
drivers/staging/lustre/include/linux/libcfs/libcfs.h
patch
|
blob
|
history
drivers/staging/lustre/lustre/obdclass/lu_object.c
patch
|
blob
|
history
diff --cc
drivers/staging/android/ashmem.c
Simple merge
diff --cc
drivers/staging/lustre/include/linux/libcfs/libcfs.h
Simple merge
diff --cc
drivers/staging/lustre/lustre/obdclass/lu_object.c
Simple merge