Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343012
b: refs/heads/master
c: 5d0c3d4
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jiri Kosina committed Oct 15, 2012
1 parent 83275ac commit d302cdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b61810d196b84bfdc14c289126d98de765b7f97
refs/heads/master: 5d0c3d4f3d48681c2ba51e9f9ed6ae5dc4a34a47
6 changes: 1 addition & 5 deletions trunk/drivers/char/ppdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,8 @@ static ssize_t pp_write (struct file * file, const char __user * buf,
break;
}

if (signal_pending (current)) {
if (!bytes_written) {
bytes_written = -EINTR;
}
if (signal_pending (current))
break;
}

cond_resched();
}
Expand Down

0 comments on commit d302cdb

Please sign in to comment.