diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:36 +0000 |
commit | 9206683f4bc211f1a962a7c174dc488081dff349 (patch) | |
tree | 81c06e31307a5b3b878b41c67f875317a5fa9501 /target/linux/atheros/patches-3.10/100-board.patch | |
parent | 19c6fdf34a06948c189eb44108b0dd1b413a4a08 (diff) | |
download | master-187ad058-9206683f4bc211f1a962a7c174dc488081dff349.tar.gz master-187ad058-9206683f4bc211f1a962a7c174dc488081dff349.tar.bz2 master-187ad058-9206683f4bc211f1a962a7c174dc488081dff349.zip |
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 <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41083 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10/100-board.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/100-board.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 <asm-generic/gpio.h> /* cansleep wrappers */ |