]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: pm nl: reduce variable scope
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Mon, 25 Jan 2021 18:59:02 +0000 (10:59 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Jan 2021 00:53:55 +0000 (16:53 -0800)
commit64c652716769def63ac79900cb83a24ae486f05e
treefadb89e76aa7bfc8eb444bc00eb145eaa729d757
parent1dc311253609ac9725fe32cf8237488c6210edbf
mptcp: pm nl: reduce variable scope

To avoid confusions like when working on the previous patch, better to
declare and assign this variable only where it is needed.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_netlink.c