IPVS: Remove useless { } block from ip_vs_process_message()
Subsystems (3)
PATCH 6/9 IPVS: Remove useless { } block from ip_vs_process_message()
From: Simon Horman <[email protected]>
Acked-by Hans Schillstrom <[email protected]>
Signed-off-by Simon Horman <[email protected]>
Signed-off-by Hans Schillstrom <[email protected]>
--- net/netfilter/ipvs/ip_vs_sync.c | 24 +++++++++++------------- 1 files changed, 11 insertions(+), 13 deletions(-)
net/netfilter/ipvs/ip_vs_sync.c +11 -13
@@ -511,20 +511,18 @@ static void ip_vs_process_message(const char *buffer, const size_t buflen) } } - { -if (ip_vs_conn_fill_param_sync (AF_INET , s->protocol, - (union nf_inet_addr *)&s->caddr, - s->cport, - (union nf_inet_addr *)&s->vaddr, - s->vport, ¶m)) { -pr_err ("ip_vs_conn_fill_param_sync failed" ); -return ; - } -if (!(flags &IP_VS_CONN_F_TEMPLATE )) - cp =ip_vs_conn_in_get (¶m); -else - cp =ip_vs_ct_in_get (¶m); +if (ip_vs_conn_fill_param_sync (AF_INET , s->protocol, + (union nf_inet_addr *)&s->caddr, + s->cport, + (union nf_inet_addr *)&s->vaddr, + s->vport, ¶m)) { +pr_err ("ip_vs_conn_fill_param_sync failed" ); +return ; } +if (!(flags &IP_VS_CONN_F_TEMPLATE )) + cp =ip_vs_conn_in_get (¶m); +else + cp =ip_vs_ct_in_get (¶m);if (!cp) {/* * Find the appropriate destination for the connection.
Signature · 1 line
1.7.2.3