Patchwork [net-next,3/3] include/net: Remove unnecessary semicolons

login
register
mail settings
Submitter Joe Perches
Date June 3, 2011, 9:51 p.m.
Message ID <9fb8e8d355f718b508f5e5e1093ce877ff66e9e3.1307137352.git.joe@perches.com>
Download mbox | patch
Permalink /patch/98660/
State Accepted
Delegated to: David Miller
Headers show

Comments

Joe Perches - June 3, 2011, 9:51 p.m.
Semicolons are not necessary after switch/while/for/if braces
so remove them.

Signed-off-by: Joe Perches <joe@perches.com>
---
 include/net/sctp/sctp.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index f9fe374..6a72a58 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -601,7 +601,7 @@  static inline int ipver2af(__u8 ipver)
 		return AF_INET6;
 	default:
 		return 0;
-	};
+	}
 }
 
 /* Convert from an address parameter type to an address family.  */
@@ -614,7 +614,7 @@  static inline int param_type2af(__be16 type)
 		return AF_INET6;
 	default:
 		return 0;
-	};
+	}
 }
 
 /* Perform some sanity checks. */