projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe91a2
)
C6X: clean up compiler warning
author
Mark Salter
<msalter@redhat.com>
Thu, 19 Jul 2012 03:34:17 +0000
(23:34 -0400)
committer
Mark Salter
<msalter@redhat.com>
Thu, 19 Jul 2012 03:52:54 +0000
(23:52 -0400)
commit
a610d6e6
: pull clearing RESTORE_SIGMASK into block_sigmask()
left behind a compiler warning:
arch/c6x/kernel/signal.c:252:6: warning: unused variable 'ret'
This patch cleans up the warning by removing the unused variable.
Signed-off-by: Mark Salter <msalter@redhat.com>
arch/c6x/kernel/signal.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/c6x/kernel/signal.c
b/arch/c6x/kernel/signal.c
index 3d8f3c22a94fa0adf7e66fe2a793a65326759990..3998b24e26f2d7d3bfef802389c90617a2961b49 100644
(file)
--- a/
arch/c6x/kernel/signal.c
+++ b/
arch/c6x/kernel/signal.c
@@
-249,8
+249,6
@@
static void handle_signal(int sig,
siginfo_t *info, struct k_sigaction *ka,
struct pt_regs *regs, int syscall)
{
- int ret;
-
/* Are we from a system call? */
if (syscall) {
/* If so, check system call restarting.. */