powerpc/aoa: gpio-pmf.c: 3 * redundant code

Signed-off-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
d binderman 2010-03-19 00:12:22 +00:00 committed by Benjamin Herrenschmidt
parent 469d62be92
commit 6237cdac5d

View file

@ -116,12 +116,9 @@ static void pmf_gpio_exit(struct gpio_runtime *rt)
mutex_destroy(&rt->line_in_notify.mutex);
mutex_destroy(&rt->line_out_notify.mutex);
if (rt->headphone_notify.gpio_private)
kfree(rt->headphone_notify.gpio_private);
if (rt->line_in_notify.gpio_private)
kfree(rt->line_in_notify.gpio_private);
if (rt->line_out_notify.gpio_private)
kfree(rt->line_out_notify.gpio_private);
kfree(rt->headphone_notify.gpio_private);
kfree(rt->line_in_notify.gpio_private);
kfree(rt->line_out_notify.gpio_private);
}
static void pmf_handle_notify_irq(void *data)