Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2948b0b3 authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Mauro Carvalho Chehab
Browse files

[media] vivi: Kill TSTAMP_* macros



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.

Signed-off-by: default avatarKirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6ee28d94
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -351,11 +351,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)
{