parport: remove superfluous local variable
Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
929dfb24fb
commit
d99a0344ae
@@ -199,8 +199,6 @@ int parport_wait_peripheral(struct parport *port,
|
|||||||
/* 40ms of slow polling. */
|
/* 40ms of slow polling. */
|
||||||
deadline = jiffies + msecs_to_jiffies(40);
|
deadline = jiffies + msecs_to_jiffies(40);
|
||||||
while (time_before (jiffies, deadline)) {
|
while (time_before (jiffies, deadline)) {
|
||||||
int ret;
|
|
||||||
|
|
||||||
if (signal_pending (current))
|
if (signal_pending (current))
|
||||||
return -EINTR;
|
return -EINTR;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user