From patchwork Mon Oct 22 13:54:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Smelkov X-Patchwork-Id: 1626061 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 8E1BDDF2F5 for ; Mon, 22 Oct 2012 14:05:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754197Ab2JVOFc (ORCPT ); Mon, 22 Oct 2012 10:05:32 -0400 Received: from mail.mnsspb.ru ([84.204.75.2]:39107 "EHLO mail.mnsspb.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754116Ab2JVOFc (ORCPT ); Mon, 22 Oct 2012 10:05:32 -0400 X-Greylist: delayed 699 seconds by postgrey-1.27 at vger.kernel.org; Mon, 22 Oct 2012 10:05:32 EDT Received: from [192.168.0.127] (helo=tugrik.mns.mnsspb.ru) by mail.mnsspb.ru with esmtps id 1TQIS5-0004vb-1b; Mon, 22 Oct 2012 17:53:57 +0400 Received: from kirr by tugrik.mns.mnsspb.ru with local (Exim 4.72) (envelope-from ) id 1TQISy-0008Ey-IH; Mon, 22 Oct 2012 17:54:52 +0400 From: Kirill Smelkov To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, Kirill Smelkov Subject: [PATCH 1/2] [media] vivi: Kill BUFFER_TIMEOUT macro Date: Mon, 22 Oct 2012 17:54:43 +0400 Message-Id: <1350914084-31618-1-git-send-email-kirr@mns.spb.ru> X-Mailer: git-send-email 1.8.0.rc3.331.g5b9a629 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- drivers/media/platform/vivi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c index b366b05..3e6902a 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