summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-12 06:51:39 +0000
committerJohn Crispin <john@openwrt.org>2014-09-12 06:51:39 +0000
commitf9e46af383523b7ef601e96e720ac642b638feb8 (patch)
tree541452faf3acce675c9ceda578c5b4c1fe0a843a /target/linux/atheros
parent9055970e927ff080353a9691c2aefb6229581c36 (diff)
downloadmaster-31e0f0ae-f9e46af383523b7ef601e96e720ac642b638feb8.tar.gz
master-31e0f0ae-f9e46af383523b7ef601e96e720ac642b638feb8.tar.bz2
master-31e0f0ae-f9e46af383523b7ef601e96e720ac642b638feb8.zip
atheros: remove useless return
Remove useless void function return. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42488
Diffstat (limited to 'target/linux/atheros')
-rw-r--r--target/linux/atheros/patches-3.14/100-board.patch3
-rw-r--r--target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch6
-rw-r--r--target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch2
3 files changed, 3 insertions, 8 deletions
diff --git a/target/linux/atheros/patches-3.14/100-board.patch b/target/linux/atheros/patches-3.14/100-board.patch
index 5fae3f372c..a19e4b36b3 100644
--- a/target/linux/atheros/patches-3.14/100-board.patch
+++ b/target/linux/atheros/patches-3.14/100-board.patch
@@ -563,7 +563,7 @@
+#endif /* __ASM_MACH_AR231X_CPU_FEATURE_OVERRIDES_H */
--- /dev/null
+++ b/arch/mips/include/asm/mach-ar231x/dma-coherence.h
-@@ -0,0 +1,79 @@
+@@ -0,0 +1,78 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
@@ -623,7 +623,6 @@
+
+static inline void plat_extra_sync_for_device(struct device *dev)
+{
-+ return;
+}
+
+static inline int plat_dma_mapping_error(struct device *dev,
diff --git a/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch b/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch
index 42812ff23a..9bf9abb998 100644
--- a/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch
@@ -33,7 +33,7 @@
+obj-$(CONFIG_NET_AR231X) += ar231x.o
--- /dev/null
+++ b/drivers/net/ethernet/atheros/ar231x/ar231x.c
-@@ -0,0 +1,1254 @@
+@@ -0,0 +1,1250 @@
+/*
+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
+ *
@@ -793,8 +793,6 @@
+
+ if (i)
+ sp->rx_skbprd = idx;
-+
-+ return;
+}
+
+#define AR2313_MAX_PKTS_PER_CALL 64
@@ -931,8 +929,6 @@
+ }
+
+ sp->tx_csm = idx;
-+
-+ return;
+}
+
+
diff --git a/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch b/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
index a110014594..abda9ce76b 100644
--- a/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
+++ b/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
@@ -79,7 +79,7 @@
kfree(dev);
return 0;
}
-@@ -1108,6 +1155,9 @@ static int ar231x_ioctl(struct net_devic
+@@ -1104,6 +1151,9 @@ static int ar231x_ioctl(struct net_devic
struct ar231x_private *sp = netdev_priv(dev);
int ret;