dell-smbios: rename release_buffer() to dell_smbios_release_buffer()
[linux-2.6-block.git] / drivers / rtc / rtc-lpc32xx.c
index f923f732478827d7693c1c4caafce551d12ce3b3..887871c3d5261432e745c61c1fbfe8b50d95ff80 100644 (file)
@@ -205,7 +205,7 @@ static int lpc32xx_rtc_probe(struct platform_device *pdev)
        u32 tmp;
 
        rtcirq = platform_get_irq(pdev, 0);
-       if (rtcirq < 0 || rtcirq >= NR_IRQS) {
+       if (rtcirq < 0) {
                dev_warn(&pdev->dev, "Can't get interrupt resource\n");
                rtcirq = -1;
        }