瀏覽代碼

include/net: Remove unnecessary semicolons

Semicolons are not necessary after switch/while/for/if braces
so remove them.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Joe Perches 14 年之前
父節點
當前提交
e3cc055c18
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/net/sctp/sctp.h

+ 2 - 2
include/net/sctp/sctp.h

@@ -601,7 +601,7 @@ static inline int ipver2af(__u8 ipver)
 		return AF_INET6;
 		return AF_INET6;
 	default:
 	default:
 		return 0;
 		return 0;
-	};
+	}
 }
 }
 
 
 /* Convert from an address parameter type to an address family.  */
 /* Convert from an address parameter type to an address family.  */
@@ -614,7 +614,7 @@ static inline int param_type2af(__be16 type)
 		return AF_INET6;
 		return AF_INET6;
 	default:
 	default:
 		return 0;
 		return 0;
-	};
+	}
 }
 }
 
 
 /* Perform some sanity checks. */
 /* Perform some sanity checks. */