summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorMichal Kubecek2019-04-26 11:13:12 +0200
committerDavid S. Miller2019-04-27 23:03:44 +0200
commitf78c6032c4cb89b408190afd4feb61ff4461a114 (patch)
treeb49e3af8f5cac309bae80ad390ee8fc3b3679065 /net/bridge
parentipset: drop ipset_nest_start() and ipset_nest_end() (diff)
downloadkernel-qcow2-linux-f78c6032c4cb89b408190afd4feb61ff4461a114.tar.gz
kernel-qcow2-linux-f78c6032c4cb89b408190afd4feb61ff4461a114.tar.xz
kernel-qcow2-linux-f78c6032c4cb89b408190afd4feb61ff4461a114.zip
net: fix two coding style issues
This is a simple cleanup addressing two coding style issues found by checkpatch.pl in an earlier patch. It's submitted as a separate patch to keep the original patch as it was generated by spatch. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
index 0914477c4719..348ddb6d09bb 100644
--- a/net/bridge/br_netlink.c
+++ b/net/bridge/br_netlink.c
@@ -413,9 +413,9 @@ static int br_fill_ifinfo(struct sk_buff *skb,
goto nla_put_failure;
if (event == RTM_NEWLINK && port) {
- struct nlattr *nest
- = nla_nest_start(skb, IFLA_PROTINFO);
+ struct nlattr *nest;
+ nest = nla_nest_start(skb, IFLA_PROTINFO);
if (nest == NULL || br_port_fill_attrs(skb, port) < 0)
goto nla_put_failure;
nla_nest_end(skb, nest);