Commit 221ff3d0 authored by Christoph Jaeger's avatar Christoph Jaeger Committed by Mauro Carvalho Chehab

[media] drxd_hard: remove unused SIZEOF_ARRAY

SIZEOF_ARRAY is not used (anymore). Besides, ARRAY_SIZE, defined in
include/linux/kernel.h, should be used rather than explicitly coding some
variant of it.
Signed-off-by: default avatarChristoph Jaeger <christophjaeger@linux.com>
Reviewed-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 6894c070
...@@ -46,10 +46,6 @@ ...@@ -46,10 +46,6 @@
#define DRX_I2C_MODEFLAGS 0xC0 #define DRX_I2C_MODEFLAGS 0xC0
#define DRX_I2C_FLAGS 0xF0 #define DRX_I2C_FLAGS 0xF0
#ifndef SIZEOF_ARRAY
#define SIZEOF_ARRAY(array) (sizeof((array))/sizeof((array)[0]))
#endif
#define DEFAULT_LOCK_TIMEOUT 1100 #define DEFAULT_LOCK_TIMEOUT 1100
#define DRX_CHANNEL_AUTO 0 #define DRX_CHANNEL_AUTO 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment