Commit e228c5c0 authored by Hoang Le's avatar Hoang Le Committed by David S. Miller

tipc: simplify trivial boolean return

Checking and returning 'true' boolean is useless as it will be
returning at end of function
Signed-off-by: default avatarHoang Le <hoang.h.le@dektech.com.au>
Acked-by: default avatarYing Xue <ying.xue@windriver.com>
Acked-by: default avatarJon Maloy <jmaloy@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b8323deb
......@@ -736,9 +736,6 @@ bool tipc_msg_lookup_dest(struct net *net, struct sk_buff *skb, int *err)
msg_set_destport(msg, dport);
*err = TIPC_OK;
if (!skb_cloned(skb))
return true;
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment