From: Alan Cox Date: Mon, 1 Oct 2012 15:24:17 +0000 (+0100) Subject: parport: dead code in pp_write X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~37^2~37 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0c3d4f3d48681c2ba51e9f9ed6ae5dc4a34a47;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed