net: fib6: reduce identation in ip6_convert_metrics

Reduce the identation a bit, there's no need to artificically have
it increased.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Daniel Borkmann 2015-08-31 15:58:45 +02:00 committed by David S. Miller
parent 6cf9dfd3bd
commit 1bb14807bc

View file

@ -1711,12 +1711,13 @@ static int ip6_convert_metrics(struct mx6_config *mxc,
nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) {
int type = nla_type(nla); int type = nla_type(nla);
if (type) {
u32 val; u32 val;
if (!type)
continue;
if (unlikely(type > RTAX_MAX)) if (unlikely(type > RTAX_MAX))
goto err; goto err;
if (type == RTAX_CC_ALGO) { if (type == RTAX_CC_ALGO) {
char tmp[TCP_CA_NAME_MAX]; char tmp[TCP_CA_NAME_MAX];
@ -1731,7 +1732,6 @@ static int ip6_convert_metrics(struct mx6_config *mxc,
mp[type - 1] = val; mp[type - 1] = val;
__set_bit(type - 1, mxc->mx_valid); __set_bit(type - 1, mxc->mx_valid);
} }
}
mxc->mx = mp; mxc->mx = mp;