udp: Neaten function pointer calls and add braces
authorJoe Perches <joe@perches.com>
Wed, 12 Nov 2014 05:59:20 +0000 (21:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 19:51:59 +0000 (14:51 -0500)
commit4243cdc2c1e5a1375cc8397e8f9b06530f099c60
tree7c7166a9814b03d19020d28a071eae1c51748ffc
parentfeed1a96604e2d067c556ec97a92f82ae0e449ad
udp: Neaten function pointer calls and add braces

Standardize function pointer uses.

Convert calling style from:
(*foo)(args...);
to:
foo(args...);

Other miscellanea:

o Add braces around loops with single ifs on multiple lines
o Realign arguments around these functions
o Invert logic in if to return immediately.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c