diff options
author | Hoang Le <hoang.h.le@dektech.com.au> | 2020-03-13 04:18:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-15 08:07:00 +0100 |
commit | e228c5c0882e809e4fb3eafd07ec25ff50f65ac5 (patch) | |
tree | 4fd46d76e143035a428742e29dfd999b6bb288fd | |
parent | Merge branch 'ethtool-consolidate-irq-coalescing-part-5' (diff) | |
download | linux-e228c5c0882e809e4fb3eafd07ec25ff50f65ac5.tar.xz linux-e228c5c0882e809e4fb3eafd07ec25ff50f65ac5.zip |
tipc: simplify trivial boolean return
Checking and returning 'true' boolean is useless as it will be
returning at end of function
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/tipc/msg.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/msg.c b/net/tipc/msg.c index 0d515d20b056..4d0e0bdd997b 100644 --- a/net/tipc/msg.c +++ b/net/tipc/msg.c @@ -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; } |