]> err.no Git - linux-2.6/commitdiff
parport: remove superfluous local variable
authorAndre Haupt <andre@bitwigglers.org>
Sat, 26 Jul 2008 02:44:55 +0000 (19:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:03 +0000 (12:00 -0700)
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>
drivers/parport/ieee1284.c

index 0338b09126742300efd226e4fce332a0e2c0bbad..e97059415ab423387eb0dfd0f4c210cd38766c68 100644 (file)
@@ -199,8 +199,6 @@ int parport_wait_peripheral(struct parport *port,
        /* 40ms of slow polling. */
        deadline = jiffies + msecs_to_jiffies(40);
        while (time_before (jiffies, deadline)) {
        /* 40ms of slow polling. */
        deadline = jiffies + msecs_to_jiffies(40);
        while (time_before (jiffies, deadline)) {
-               int ret;
-
                if (signal_pending (current))
                        return -EINTR;
 
                if (signal_pending (current))
                        return -EINTR;