X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ipc%2Fmqueue.c;h=aee2696c30b1efdd6c549e01998a72a496a7972d;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=c9ea777b145452d5ee5be2b114e3f23403bccd57;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/ipc/mqueue.c b/ipc/mqueue.c index c9ea777b1..aee2696c3 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; }