Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6237cdac authored by d binderman's avatar d binderman Committed by Benjamin Herrenschmidt
Browse files

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

parent 469d62be
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -116,11 +116,8 @@ 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);
}