]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parport: dead code in pp_write
authorAlan Cox <alan@linux.intel.com>
Mon, 1 Oct 2012 15:24:17 +0000 (16:24 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 15 Oct 2012 20:46:41 +0000 (22:46 +0200)
commit5d0c3d4f3d48681c2ba51e9f9ed6ae5dc4a34a47
treebcaa7e3c0a6ae164f0f75a4fd7a31228028baaa1
parent1b61810d196b84bfdc14c289126d98de765b7f97
parport: dead code in pp_write

We always update bytes_written before we check signal_pending so it
follows that we can't get a signal return for 0 bytes so we don't
need to check in the singal path. The cases a signal causes an earlier
abort are handled before this and will not hit this path

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/char/ppdev.c