From 5427e47e59272c7e11554b1c654a997173c7f941 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Jun 2014 09:05:36 +0000 Subject: atheros: remove parentheses around return values Remove parentheses around return values since return is no a function, as suggested by checkpatch. Signed-off-by: Sergey Ryazanov SVN-Revision: 41083 --- target/linux/atheros/patches-3.10/100-board.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/atheros/patches-3.10/100-board.patch') diff --git a/target/linux/atheros/patches-3.10/100-board.patch b/target/linux/atheros/patches-3.10/100-board.patch index 4f7b07255c..0bd3410e38 100644 --- a/target/linux/atheros/patches-3.10/100-board.patch +++ b/target/linux/atheros/patches-3.10/100-board.patch @@ -661,7 +661,7 @@ + +/* Returns gpio for IRQ attached. Unchecked function */ +static inline int irq_to_gpio(unsigned irq) { -+ return (irq - (AR531X_GPIO_IRQ(0))); ++ return irq - AR531X_GPIO_IRQ(0); +} + +#include /* cansleep wrappers */ -- cgit v1.2.3