atheros: remove useless return

Remove useless void function return.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 42488
This commit is contained in:
John Crispin 2014-09-12 06:51:39 +00:00
parent 9055970e92
commit f9e46af383
3 changed files with 3 additions and 8 deletions

View File

@ -563,7 +563,7 @@
+#endif /* __ASM_MACH_AR231X_CPU_FEATURE_OVERRIDES_H */ +#endif /* __ASM_MACH_AR231X_CPU_FEATURE_OVERRIDES_H */
--- /dev/null --- /dev/null
+++ b/arch/mips/include/asm/mach-ar231x/dma-coherence.h +++ 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 + * 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 + * 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) +static inline void plat_extra_sync_for_device(struct device *dev)
+{ +{
+ return;
+} +}
+ +
+static inline int plat_dma_mapping_error(struct device *dev, +static inline int plat_dma_mapping_error(struct device *dev,

View File

@ -33,7 +33,7 @@
+obj-$(CONFIG_NET_AR231X) += ar231x.o +obj-$(CONFIG_NET_AR231X) += ar231x.o
--- /dev/null --- /dev/null
+++ b/drivers/net/ethernet/atheros/ar231x/ar231x.c +++ 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. + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
+ * + *
@ -793,8 +793,6 @@
+ +
+ if (i) + if (i)
+ sp->rx_skbprd = idx; + sp->rx_skbprd = idx;
+
+ return;
+} +}
+ +
+#define AR2313_MAX_PKTS_PER_CALL 64 +#define AR2313_MAX_PKTS_PER_CALL 64
@ -931,8 +929,6 @@
+ } + }
+ +
+ sp->tx_csm = idx; + sp->tx_csm = idx;
+
+ return;
+} +}
+ +
+ +

View File

@ -79,7 +79,7 @@
kfree(dev); kfree(dev);
return 0; 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); struct ar231x_private *sp = netdev_priv(dev);
int ret; int ret;