Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332383
b: refs/heads/master
c: 1638113
h: refs/heads/master
i:
  332381: e85ac0e
  332379: cd13d7b
  332375: e12d898
  332367: 50222e5
  332351: a62a70c
v: v3
  • Loading branch information
Michel Lespinasse authored and Linus Torvalds committed Oct 9, 2012
1 parent 6b4c2bb commit 2a9de6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ae1c1d09f220ded48ee9a7d91a65e94f95c4af1
refs/heads/master: 1638113d9d8b7e04c1eeae9014d43f6381a74040
3 changes: 0 additions & 3 deletions trunk/ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ static int msg_insert(struct msg_msg *msg, struct mqueue_inode_info *info)
leaf = kmalloc(sizeof(*leaf), GFP_ATOMIC);
if (!leaf)
return -ENOMEM;
rb_init_node(&leaf->rb_node);
INIT_LIST_HEAD(&leaf->msg_list);
info->qsize += sizeof(*leaf);
}
Expand Down Expand Up @@ -1013,7 +1012,6 @@ SYSCALL_DEFINE5(mq_timedsend, mqd_t, mqdes, const char __user *, u_msg_ptr,

if (!info->node_cache && new_leaf) {
/* Save our speculative allocation into the cache */
rb_init_node(&new_leaf->rb_node);
INIT_LIST_HEAD(&new_leaf->msg_list);
info->node_cache = new_leaf;
info->qsize += sizeof(*new_leaf);
Expand Down Expand Up @@ -1121,7 +1119,6 @@ SYSCALL_DEFINE5(mq_timedreceive, mqd_t, mqdes, char __user *, u_msg_ptr,

if (!info->node_cache && new_leaf) {
/* Save our speculative allocation into the cache */
rb_init_node(&new_leaf->rb_node);
INIT_LIST_HEAD(&new_leaf->msg_list);
info->node_cache = new_leaf;
info->qsize += sizeof(*new_leaf);
Expand Down

0 comments on commit 2a9de6c

Please sign in to comment.