VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Al Viro <viro@ftp.linux.org.uk> 2011-08-18 20:08:19 +0100 committer: Richard Weinberger <richard@nod.at> 2011-11-02 14:15:11 +0100 commit: 17e052093bcd21eaf9eb6e792cd76fdc4f0e3505 parent: 0a9e70b1cd0f7ee82a65d19edfcd31664ef65f69
Commit Summary:
um: take register_winch_irq() into the caller of is_skas_winch()
Diffstat:
1 file changed, 1 insertion, 4 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c
index 30f1bb43a230..29e4ab7eb369 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -26,11 +26,7 @@
 
 int is_skas_winch(int pid, int fd, void *data)
 {
-	if (pid != getpgrp())
-		return 0;
-
-	register_winch_irq(-1, fd, -1, data, 0);
-	return 1;
+	return pid == getpgrp();
 }
 
 static int ptrace_dump_regs(int pid)