diff options
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/devices.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/plat-omap/devices.c b/arch/arm/plat-omap/devices.c index 2625ce32e602..a374b945ac17 100644 --- a/arch/arm/plat-omap/devices.c +++ b/arch/arm/plat-omap/devices.c | |||
@@ -159,13 +159,6 @@ void omap_mcbsp_register_board_cfg(struct omap_mcbsp_platform_data *config, | |||
159 | { | 159 | { |
160 | int i; | 160 | int i; |
161 | 161 | ||
162 | if (size > OMAP_MAX_MCBSP_COUNT) { | ||
163 | printk(KERN_WARNING "Registered too many McBSPs platform_data." | ||
164 | " Using maximum (%d) available.\n", | ||
165 | OMAP_MAX_MCBSP_COUNT); | ||
166 | size = OMAP_MAX_MCBSP_COUNT; | ||
167 | } | ||
168 | |||
169 | omap_mcbsp_devices = kzalloc(size * sizeof(struct platform_device *), | 162 | omap_mcbsp_devices = kzalloc(size * sizeof(struct platform_device *), |
170 | GFP_KERNEL); | 163 | GFP_KERNEL); |
171 | if (!omap_mcbsp_devices) { | 164 | if (!omap_mcbsp_devices) { |