Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105966
b: refs/heads/master
c: 2c0c29d
h: refs/heads/master
v: v3
  • Loading branch information
Manfred Spraul authored and Linus Torvalds committed Jul 25, 2008
1 parent ae20494 commit d9c5a86
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 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: 4daa28f6d8f5cda8ea0f55048e3c8811c384cbdd
refs/heads/master: 2c0c29d414087f3b021059673c20a7088f5f1fff
2 changes: 0 additions & 2 deletions trunk/include/linux/sem.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ struct sem_queue {
struct sem_undo * undo; /* undo structure */
int pid; /* process id of requesting process */
int status; /* completion status of operation */
struct sem_array * sma; /* semaphore array for operations */
int id; /* internal sem id */
struct sembuf * sops; /* array of pending operations */
int nsops; /* number of operations */
int alter; /* does the operation alter the array? */
Expand Down
2 changes: 0 additions & 2 deletions trunk/ipc/sem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,12 +1160,10 @@ asmlinkage long sys_semtimedop(int semid, struct sembuf __user *tsops,
* task into the pending queue and go to sleep.
*/

queue.sma = sma;
queue.sops = sops;
queue.nsops = nsops;
queue.undo = un;
queue.pid = task_tgid_vnr(current);
queue.id = semid;
queue.alter = alter;
if (alter)
append_to_queue(sma ,&queue);
Expand Down

0 comments on commit d9c5a86

Please sign in to comment.