Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43958
b: refs/heads/master
c: 98d7340
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Dec 10, 2006
1 parent 818e65c commit 0446969
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: 1d5636cc078d3750b7f590a20f748aeaa26e2daf
refs/heads/master: 98d7340c360993fdd703609ff7462051e03cc2fb
10 changes: 0 additions & 10 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1931,9 +1931,6 @@ int proc_dointvec(ctl_table *table, int write, struct file *filp,

#define OP_SET 0
#define OP_AND 1
#define OP_OR 2
#define OP_MAX 3
#define OP_MIN 4

static int do_proc_dointvec_bset_conv(int *negp, unsigned long *lvalp,
int *valp,
Expand All @@ -1945,13 +1942,6 @@ static int do_proc_dointvec_bset_conv(int *negp, unsigned long *lvalp,
switch(op) {
case OP_SET: *valp = val; break;
case OP_AND: *valp &= val; break;
case OP_OR: *valp |= val; break;
case OP_MAX: if(*valp < val)
*valp = val;
break;
case OP_MIN: if(*valp > val)
*valp = val;
break;
}
} else {
int val = *valp;
Expand Down

0 comments on commit 0446969

Please sign in to comment.