From patchwork Tue Oct 23 17:07:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Smelkov X-Patchwork-Id: 1631631 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 7420CDF283 for ; Tue, 23 Oct 2012 17:07:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754833Ab2JWRHH (ORCPT ); Tue, 23 Oct 2012 13:07:07 -0400 Received: from mail.mnsspb.ru ([84.204.75.2]:50283 "EHLO mail.mnsspb.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754531Ab2JWRHG (ORCPT ); Tue, 23 Oct 2012 13:07:06 -0400 Received: from [192.168.0.127] (helo=tugrik.mns.mnsspb.ru) by mail.mnsspb.ru with esmtps id 1TQhwz-00043Q-HD; Tue, 23 Oct 2012 21:07:33 +0400 Received: from kirr by tugrik.mns.mnsspb.ru with local (Exim 4.72) (envelope-from ) id 1TQhxU-0001H8-CZ; Tue, 23 Oct 2012 21:08:04 +0400 From: Kirill Smelkov To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, Kirill Smelkov , Hans Verkuil Subject: [PATCH] [media] vivi: Kill TSTAMP_* macros Date: Tue, 23 Oct 2012 21:07:55 +0400 Message-Id: <1351012075-4845-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 TSTAMP_* macros has gone in 2010 in 730947bc (V4L/DVB: vivi: clean up and a major overhaul) but the macros remain. Say goodbye to them. Cc: Hans Verkuil Signed-off-by: Kirill Smelkov --- drivers/media/platform/vivi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c index 3adea58..bfac13d 100644 --- a/drivers/media/platform/vivi.c +++ b/drivers/media/platform/vivi.c @@ -356,11 +356,6 @@ static void precalculate_bars(struct vivi_dev *dev) } } -#define TSTAMP_MIN_Y 24 -#define TSTAMP_MAX_Y (TSTAMP_MIN_Y + 15) -#define TSTAMP_INPUT_X 10 -#define TSTAMP_MIN_X (54 + TSTAMP_INPUT_X) - /* 'odd' is true for pixels 1, 3, 5, etc. and false for pixels 0, 2, 4, etc. */ static void gen_twopix(struct vivi_dev *dev, u8 *buf, int colorpos, bool odd) {