diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index f9fe374ac9f4c53a92f04f1e14109a54e7f061dc..6a72a58cde59cd94b5f2dd8d2fdad3fd08009665 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. */