netfilter: Reduce switch/case indent
Make the case labels the same indent as the switch. git diff -w shows miscellaneous 80 column wrapping, comment reflowing and a comment for a useless gcc warning for an otherwise unused default: case. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1d67a51682
commit
181b1e9ce1
|
@ -322,13 +322,13 @@ clusterip_tg(struct sk_buff *skb, const struct xt_action_param *par)
|
|||
break;
|
||||
case IP_CT_RELATED:
|
||||
case IP_CT_RELATED_REPLY:
|
||||
/* FIXME: we don't handle expectations at the
|
||||
* moment. they can arrive on a different node than
|
||||
/* FIXME: we don't handle expectations at the moment.
|
||||
* They can arrive on a different node than
|
||||
* the master connection (e.g. FTP passive mode) */
|
||||
case IP_CT_ESTABLISHED:
|
||||
case IP_CT_ESTABLISHED_REPLY:
|
||||
break;
|
||||
default:
|
||||
default: /* Prevent gcc warnings */
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -725,8 +725,7 @@ static unsigned char snmp_object_decode(struct asn1_ctx *ctx,
|
|||
kfree(id);
|
||||
return 0;
|
||||
}
|
||||
*obj = kmalloc(sizeof(struct snmp_object) + len,
|
||||
GFP_ATOMIC);
|
||||
*obj = kmalloc(sizeof(struct snmp_object) + len, GFP_ATOMIC);
|
||||
if (*obj == NULL) {
|
||||
kfree(id);
|
||||
if (net_ratelimit())
|
||||
|
@ -741,8 +740,7 @@ static unsigned char snmp_object_decode(struct asn1_ctx *ctx,
|
|||
kfree(id);
|
||||
return 0;
|
||||
}
|
||||
*obj = kmalloc(sizeof(struct snmp_object) + len,
|
||||
GFP_ATOMIC);
|
||||
*obj = kmalloc(sizeof(struct snmp_object) + len, GFP_ATOMIC);
|
||||
if (*obj == NULL) {
|
||||
kfree(p);
|
||||
kfree(id);
|
||||
|
|
Loading…
Reference in New Issue