commit | 8bc81c570831f5b739a1c8dfe547b828ef398dfb | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Jun 24 16:02:42 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 24 08:56:20 2019 -0700 |
tree | 84175cf9588684bd120882e3d616c0097187fcd4 | |
parent | 18f3896dfd0e158576362812c60e4765f5678225 [diff] |
tipc: remove the unnecessary msg->req check from tipc_nl_compat_bearer_set tipc_nl_compat_bearer_set() is only called by tipc_nl_compat_link_set() which already does the check for msg->req check, so remove it from tipc_nl_compat_bearer_set(), and do the same in tipc_nl_compat_media_set(). Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>