projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c4bd0
)
microblaze: Remove redundant variable
author
Michal Simek
<monstr@monstr.eu>
Thu, 16 Apr 2009 09:32:21 +0000
(11:32 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 23 Apr 2009 14:09:18 +0000
(16:09 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/process.c
b/arch/microblaze/kernel/process.c
index dd15de9cde394e191423f52aa84098a9c79ddcb4..07d4fa339eda8c6c0384c1c0b70b8ba09b55781d 100644
(file)
--- a/
arch/microblaze/kernel/process.c
+++ b/
arch/microblaze/kernel/process.c
@@
-161,7
+161,6
@@
static void kernel_thread_helper(int (*fn)(void *), void *arg)
int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
{
struct pt_regs regs;
- int ret;
memset(®s, 0, sizeof(regs));
/* store them in non-volatile registers */
@@
-171,10
+170,8
@@
int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
regs.pc = (unsigned long)kernel_thread_helper;
regs.pt_mode = 1;
- ret
=
do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0,
+ ret
urn
do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0,
®s, 0, NULL, NULL);
-
- return ret;
}
unsigned long get_wchan(struct task_struct *p)