atheros: remove useless return
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Sep 2014 06:51:39 +0000 (06:51 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Sep 2014 06:51:39 +0000 (06:51 +0000)
Remove useless void function return.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42488 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/atheros/patches-3.14/100-board.patch
target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch
target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch

index 5fae3f3..a19e4b3 100644 (file)
 +#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
 +
 +static inline void plat_extra_sync_for_device(struct device *dev)
 +{
-+      return;
 +}
 +
 +static inline int plat_dma_mapping_error(struct device *dev,
index 42812ff..9bf9abb 100644 (file)
@@ -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.
 + *
 +
 +      if (i)
 +              sp->rx_skbprd = idx;
-+
-+      return;
 +}
 +
 +#define AR2313_MAX_PKTS_PER_CALL        64
 +      }
 +
 +      sp->tx_csm = idx;
-+
-+      return;
 +}
 +
 +
index a110014..abda9ce 100644 (file)
@@ -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;