Commit 1b6dd9ba authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds

adb_probe_task: remove unneeded flush_signals() call

adb_probe_task() is forked by "events" thread, all signals are ignored, no
need to play with signal blocking/flushing.
Signed-off-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4210df28
...@@ -248,14 +248,8 @@ static int adb_scan_bus(void) ...@@ -248,14 +248,8 @@ static int adb_scan_bus(void)
static int static int
adb_probe_task(void *x) adb_probe_task(void *x)
{ {
sigset_t blocked;
strcpy(current->comm, "kadbprobe"); strcpy(current->comm, "kadbprobe");
sigfillset(&blocked);
sigprocmask(SIG_BLOCK, &blocked, NULL);
flush_signals(current);
printk(KERN_INFO "adb: starting probe task...\n"); printk(KERN_INFO "adb: starting probe task...\n");
do_adb_reset_bus(); do_adb_reset_bus();
printk(KERN_INFO "adb: finished probe task...\n"); printk(KERN_INFO "adb: finished probe task...\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment