summaryrefslogtreecommitdiffstats
path: root/drivers/vlynq
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-01-06 00:11:13 +0100
committerDavid S. Miller <davem@davemloft.net>2022-01-06 12:59:09 +0100
commite31dbd3b6aba585231cd84a87adeb22e7c6a8c19 (patch)
treefdc506a5d98febdbedc0a7addabda2cfd3ac3501 /drivers/vlynq
parentnet: dsa: reorder PHY initialization with MTU setup in slave.c (diff)
downloadlinux-e31dbd3b6aba585231cd84a87adeb22e7c6a8c19.tar.xz
linux-e31dbd3b6aba585231cd84a87adeb22e7c6a8c19.zip
net: dsa: merge rtnl_lock sections in dsa_slave_create
Currently dsa_slave_create() has two sequences of rtnl_lock/rtnl_unlock in a row. Remove the rtnl_unlock() and rtnl_lock() in between, such that the operation can execute slighly faster. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions