diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v10/drivers/sync_serial.c | 1 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/sync_serial.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/cris/arch-v10/drivers/sync_serial.c b/arch/cris/arch-v10/drivers/sync_serial.c index 29eb02ab3f25..0f3983241e60 100644 --- a/arch/cris/arch-v10/drivers/sync_serial.c +++ b/arch/cris/arch-v10/drivers/sync_serial.c | |||
@@ -1086,7 +1086,6 @@ static ssize_t sync_serial_write(struct file *file, const char *buf, | |||
1086 | } | 1086 | } |
1087 | local_irq_restore(flags); | 1087 | local_irq_restore(flags); |
1088 | schedule(); | 1088 | schedule(); |
1089 | set_current_state(TASK_RUNNING); | ||
1090 | remove_wait_queue(&port->out_wait_q, &wait); | 1089 | remove_wait_queue(&port->out_wait_q, &wait); |
1091 | if (signal_pending(current)) | 1090 | if (signal_pending(current)) |
1092 | return -EINTR; | 1091 | return -EINTR; |
diff --git a/arch/cris/arch-v32/drivers/sync_serial.c b/arch/cris/arch-v32/drivers/sync_serial.c index bbb806b68838..5a149134cfb5 100644 --- a/arch/cris/arch-v32/drivers/sync_serial.c +++ b/arch/cris/arch-v32/drivers/sync_serial.c | |||
@@ -1089,7 +1089,6 @@ static ssize_t sync_serial_write(struct file *file, const char *buf, | |||
1089 | } | 1089 | } |
1090 | 1090 | ||
1091 | schedule(); | 1091 | schedule(); |
1092 | set_current_state(TASK_RUNNING); | ||
1093 | remove_wait_queue(&port->out_wait_q, &wait); | 1092 | remove_wait_queue(&port->out_wait_q, &wait); |
1094 | 1093 | ||
1095 | if (signal_pending(current)) | 1094 | if (signal_pending(current)) |