hantro: h264: Remove unused macro definition
authorEzequiel Garcia <ezequiel@collabora.com>
Wed, 1 Jul 2020 13:16:02 +0000 (15:16 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 11:21:35 +0000 (13:21 +0200)
The generic H264 reference list builder moved all
the users of this macro, but left the macro.

Remove it.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_h264.c

index d561f12..dd935d7 100644 (file)
@@ -22,8 +22,6 @@
 #define POC_BUFFER_SIZE                        34
 #define SCALING_LIST_SIZE              (6 * 16 + 2 * 64)
 
-#define HANTRO_CMP(a, b) ((a) < (b) ? -1 : 1)
-
 /* Data structure describing auxiliary buffer format. */
 struct hantro_h264_dec_priv_tbl {
        u32 cabac_table[CABAC_INIT_BUFFER_SIZE];