summary refs log tree commit diff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorChristoph Jaeger <christophjaeger@linux.com>2013-09-30 13:13:12 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-02 06:48:14 -0300
commit221ff3d0d59bcb20671e3e36b8417b52ca0de89f (patch)
tree196fb40060b8ddefa3de9c0ef3d1c36be3e90fb7 /drivers/media/dvb-frontends
parent6894c070e1f23492239a2e5d6777cb1451620bda (diff)
downloadlinux-221ff3d0d59bcb20671e3e36b8417b52ca0de89f.tar.gz
[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: Christoph Jaeger <christophjaeger@linux.com>
Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/drxd_hard.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb-frontends/drxd_hard.c b/drivers/media/dvb-frontends/drxd_hard.c
index 9a2134792cfa..cbd7c921a628 100644
--- a/drivers/media/dvb-frontends/drxd_hard.c
+++ b/drivers/media/dvb-frontends/drxd_hard.c
@@ -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