summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:40 +0000
commit3406e402ef24a3b1fc736ca1a4b0fd99259e61a9 (patch)
tree65a92a499513c41f6eae7a2952a01a0dc00ac5c7 /target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
parent5427e47e59272c7e11554b1c654a997173c7f941 (diff)
downloadmtk-20170518-3406e402ef24a3b1fc736ca1a4b0fd99259e61a9.zip
mtk-20170518-3406e402ef24a3b1fc736ca1a4b0fd99259e61a9.tar.gz
mtk-20170518-3406e402ef24a3b1fc736ca1a4b0fd99259e61a9.tar.bz2
atheros: do not assignment in if condition
Remove assignments from if conditions as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41084
Diffstat (limited to 'target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch')
-rw-r--r--target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch b/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
index 870b76c..35344ca 100644
--- a/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
+++ b/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
@@ -78,7 +78,7 @@
kfree(dev);
return 0;
}
-@@ -1119,6 +1165,9 @@ static int ar231x_ioctl(struct net_devic
+@@ -1120,6 +1166,9 @@ static int ar231x_ioctl(struct net_devic
struct ar231x_private *sp = netdev_priv(dev);
int ret;