Blackfin arch: Fix Bug - request lines with peripheral_request_list, but don't get...
[safe/jmp/linux-2.6] / arch / blackfin / kernel / bfin_gpio.c
index 4c14331..ea67ae5 100644 (file)
@@ -977,9 +977,6 @@ void peripheral_free(unsigned short per)
        if (!(per & P_DEFINED))
                return;
 
-       if (check_gpio(ident) < 0)
-               return;
-
        local_irq_save_hw(flags);
 
        if (unlikely(!(reserved_peri_map[gpio_bank(ident)] & gpio_bit(ident)))) {