From: Thiago Farina Date: Sun, 3 Apr 2011 22:50:14 +0000 (-0300) Subject: [media] wl128x: Remove unused NO_OF_ENTRIES_IN_ARRAY macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b01ff50035844bf2abac4a7e27b662a92ebb1d7b;p=mv-sheeva.git [media] wl128x: Remove unused NO_OF_ENTRIES_IN_ARRAY macro Signed-off-by: Thiago Farina Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/wl128x/fmdrv.h b/drivers/media/radio/wl128x/fmdrv.h index 5db6fd14cf3..1a45a5d847b 100644 --- a/drivers/media/radio/wl128x/fmdrv.h +++ b/drivers/media/radio/wl128x/fmdrv.h @@ -55,8 +55,6 @@ #define FM_DRV_TX_TIMEOUT (5*HZ) /* 5 seconds */ #define FM_DRV_RX_SEEK_TIMEOUT (20*HZ) /* 20 seconds */ -#define NO_OF_ENTRIES_IN_ARRAY(array) (sizeof(array) / sizeof(array[0])) - #define fmerr(format, ...) \ printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__) #define fmwarn(format, ...) \