aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/bfin_gpio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c
index 4c14331978f6..ea67ae5b033e 100644
--- a/arch/blackfin/kernel/bfin_gpio.c
+++ b/arch/blackfin/kernel/bfin_gpio.c
@@ -977,9 +977,6 @@ void peripheral_free(unsigned short per)
977 if (!(per & P_DEFINED)) 977 if (!(per & P_DEFINED))
978 return; 978 return;
979 979
980 if (check_gpio(ident) < 0)
981 return;
982
983 local_irq_save_hw(flags); 980 local_irq_save_hw(flags);
984 981
985 if (unlikely(!(reserved_peri_map[gpio_bank(ident)] & gpio_bit(ident)))) { 982 if (unlikely(!(reserved_peri_map[gpio_bank(ident)] & gpio_bit(ident)))) {