diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:40 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:40 +0000 |
commit | 5bdef6a3578fc2a20a75a39f9cf6541f1d89d072 (patch) | |
tree | 9eed2b72d99c0a7a8bafdd1dd53016e272a18968 /target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch | |
parent | 9206683f4bc211f1a962a7c174dc488081dff349 (diff) | |
download | upstream-5bdef6a3578fc2a20a75a39f9cf6541f1d89d072.tar.gz upstream-5bdef6a3578fc2a20a75a39f9cf6541f1d89d072.tar.bz2 upstream-5bdef6a3578fc2a20a75a39f9cf6541f1d89d072.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41084 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 2 |
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 870b76c65b..35344ca73a 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; |