aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-08-22 23:05:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 23:05:01 -0700
commit579aa5b4517cf0b3b4288567de6dfc7c5df081dd (patch)
tree5c6dfe449e3fe8a089661ba710fab698f17c6fce /ipc
parent3b0b17a8cf0d6c737c79a041626b0528f637b65b (diff)
downloadhistory-579aa5b4517cf0b3b4288567de6dfc7c5df081dd.tar.gz
[PATCH] IS_ERR() unlikeliness cleanup
Remove now-unneeded open-coded unlikelies around IS_ERR(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/mqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index c9ea777b145452..aee2696c30b1ef 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -828,7 +828,7 @@ asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *u_msg_ptr,
/* First try to allocate memory, before doing anything with
* existing queues. */
msg_ptr = load_msg(u_msg_ptr, msg_len);
- if (unlikely(IS_ERR(msg_ptr))) {
+ if (IS_ERR(msg_ptr)) {
ret = PTR_ERR(msg_ptr);
goto out_fput;
}