diff options
-rw-r--r-- | net/tipc/port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/port.h b/net/tipc/port.h index a69118ff018b..3087da39ee47 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -182,8 +182,9 @@ static inline int tipc_port_importance(struct tipc_port *port) | |||
182 | static inline int tipc_port_set_importance(struct tipc_port *port, int imp) | 182 | static inline int tipc_port_set_importance(struct tipc_port *port, int imp) |
183 | { | 183 | { |
184 | if (imp > TIPC_CRITICAL_IMPORTANCE) | 184 | if (imp > TIPC_CRITICAL_IMPORTANCE) |
185 | return -EINVAL | 185 | return -EINVAL; |
186 | msg_set_importance(&port->phdr, (u32)imp); | 186 | msg_set_importance(&port->phdr, (u32)imp); |
187 | return 0; | ||
187 | } | 188 | } |
188 | 189 | ||
189 | #endif | 190 | #endif |