From: Kirill Smelkov Date: Mon, 22 Oct 2012 12:54:43 +0000 (-0300) Subject: [media] vivi: Kill BUFFER_TIMEOUT macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2669f1073958584295f71010e2d8a141da14a392;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] vivi: Kill BUFFER_TIMEOUT macro Usage of BUFFER_TIMEOUT has gone in 2008 in 78718e5d (V4L/DVB (7492): vivi: Simplify the vivi driver and avoid deadlocks), but the macro remains. Say goodbye to it. Signed-off-by: Kirill Smelkov Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c index b366b050a3dd..3e6902a1bd22 100644 --- a/drivers/media/platform/vivi.c +++ b/drivers/media/platform/vivi.c @@ -39,7 +39,6 @@ /* Wake up at about 30 fps */ #define WAKE_NUMERATOR 30 #define WAKE_DENOMINATOR 1001 -#define BUFFER_TIMEOUT msecs_to_jiffies(500) /* 0.5 seconds */ #define MAX_WIDTH 1920 #define MAX_HEIGHT 1200