]> err.no Git - linux-2.6/commitdiff
[PATCH] dvb: ves1820: remove unnecessary msleep
authorJohannes Stezenbach <js@linuxtv.org>
Tue, 17 May 2005 04:54:33 +0000 (21:54 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:30 +0000 (07:59 -0700)
remove unnecessary msleep(10) in writereg (Tony Glader)

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/frontends/ves1820.c

index 05dc1cdf6d55971ef53d1acf0fd6b63d5f84f509..70fb44b391a75e5877b0622acc30f2ee6e5f1fc4 100644 (file)
@@ -70,7 +70,6 @@ static int ves1820_writereg(struct ves1820_state *state, u8 reg, u8 data)
                printk("ves1820: %s(): writereg error (reg == 0x%02x,"
                        "val == 0x%02x, ret == %i)\n", __FUNCTION__, reg, data, ret);
 
-       msleep(10);
        return (ret != 1) ? -EREMOTEIO : 0;
 }