tipc: Fix build.

Missing semicolon in range check fix.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2014-08-19 11:14:02 -07:00
parent d3b6f9ffca
commit 02784f1b05

View File

@ -182,8 +182,9 @@ static inline int tipc_port_importance(struct tipc_port *port)
static inline int tipc_port_set_importance(struct tipc_port *port, int imp)
{
if (imp > TIPC_CRITICAL_IMPORTANCE)
return -EINVAL
return -EINVAL;
msg_set_importance(&port->phdr, (u32)imp);
return 0;
}
#endif