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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Michal Kubecek 2019-04-26 11:13:12 +02:00 • committed by David S. Miller
commit f78c6032c4
2 changed files with 4 additions and 3 deletions

View file

@ -348,7 +348,8 @@ static int dn_fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event,
struct rtnexthop *nhp;
struct nlattr *mp_head;
if (!(mp_head = nla_nest_start_noflag(skb, RTA_MULTIPATH)))
mp_head = nla_nest_start_noflag(skb, RTA_MULTIPATH);
if (!mp_head)
goto errout;
for_nexthops(fi) {