projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cdc724
)
devcgroup: remove unused variable
author
Li Zefan
<
[email protected]
>
Sun, 19 Oct 2008 03:28:07 +0000
(20:28 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 20 Oct 2008 15:52:38 +0000
(08:52 -0700)
Signed-off-by: Li Zefan <
[email protected]
>
Acked-by: Serge Hallyn <
[email protected]
>
Cc: Paul Menage <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
security/device_cgroup.c
patch
|
blob
|
history
diff --git
a/security/device_cgroup.c
b/security/device_cgroup.c
index 9c625f65ee5615b05ad35cf8f61cc1d1e1000130..d5c15a7c67c3b5cf6a0d26a93e4c63072d8b85dc 100644
(file)
--- a/
security/device_cgroup.c
+++ b/
security/device_cgroup.c
@@
-355,7
+355,7
@@
static int devcgroup_update_access(struct dev_cgroup *devcgroup,
struct dev_cgroup *cur_devcgroup;
const char *b;
char *endp;
- int
retval = 0,
count;
+ int count;
struct dev_whitelist_item wh;
if (!capable(CAP_SYS_ADMIN))
@@
-432,7
+432,6
@@
static int devcgroup_update_access(struct dev_cgroup *devcgroup,
}
handle:
- retval = 0;
switch (filetype) {
case DEVCG_ALLOW:
if (!parent_has_perm(devcgroup, &wh))