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

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

[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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -46,10 +46,6 @@
#define DRX_I2C_MODEFLAGS     0xC0
#define DRX_I2C_FLAGS         0xF0

#ifndef SIZEOF_ARRAY
#define SIZEOF_ARRAY(array) (sizeof((array))/sizeof((array)[0]))
#endif

#define DEFAULT_LOCK_TIMEOUT    1100

#define DRX_CHANNEL_AUTO 0