Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 181b1e9c authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

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: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1d67a516
Loading
Loading
Loading
Loading
+13 −13
Original line number Original line Diff line number Diff line
@@ -322,13 +322,13 @@ clusterip_tg(struct sk_buff *skb, const struct xt_action_param *par)
		break;
		break;
	case IP_CT_RELATED:
	case IP_CT_RELATED:
	case IP_CT_RELATED_REPLY:
	case IP_CT_RELATED_REPLY:
			/* FIXME: we don't handle expectations at the
		/* FIXME: we don't handle expectations at the moment.
			 * moment.  they can arrive on a different node than
		 * They can arrive on a different node than
		 * the master connection (e.g. FTP passive mode) */
		 * the master connection (e.g. FTP passive mode) */
	case IP_CT_ESTABLISHED:
	case IP_CT_ESTABLISHED:
	case IP_CT_ESTABLISHED_REPLY:
	case IP_CT_ESTABLISHED_REPLY:
		break;
		break;
		default:
	default:			/* Prevent gcc warnings */
		break;
		break;
	}
	}


+104 −106
Original line number Original line Diff line number Diff line
@@ -725,8 +725,7 @@ static unsigned char snmp_object_decode(struct asn1_ctx *ctx,
			kfree(id);
			kfree(id);
			return 0;
			return 0;
		}
		}
			*obj = kmalloc(sizeof(struct snmp_object) + len,
		*obj = kmalloc(sizeof(struct snmp_object) + len, GFP_ATOMIC);
				       GFP_ATOMIC);
		if (*obj == NULL) {
		if (*obj == NULL) {
			kfree(id);
			kfree(id);
			if (net_ratelimit())
			if (net_ratelimit())
@@ -741,8 +740,7 @@ static unsigned char snmp_object_decode(struct asn1_ctx *ctx,
			kfree(id);
			kfree(id);
			return 0;
			return 0;
		}
		}
			*obj = kmalloc(sizeof(struct snmp_object) + len,
		*obj = kmalloc(sizeof(struct snmp_object) + len, GFP_ATOMIC);
				       GFP_ATOMIC);
		if (*obj == NULL) {
		if (*obj == NULL) {
			kfree(p);
			kfree(p);
			kfree(id);
			kfree(id);
+16 −16

File changed.

Contains only whitespace changes.

+32 −32

File changed.

Contains only whitespace changes.