]> git.baikalelectronics.ru Git - kernel.git/commit
hsr: remove unnecessary code in hsr_dev_change_mtu()
authorTaehee Yoo <ap420073@gmail.com>
Fri, 24 Apr 2020 12:43:09 +0000 (12:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:40:57 +0000 (20:40 -0700)
commit56fd7e1e4122b89973a57d6fb584bac21c7e4c41
tree54f3f7fad3b2d60c2a147ae14a0fbfb26165d2f8
parentc1f72a4775b666a8906f7c3abd04078bf2d1624c
hsr: remove unnecessary code in hsr_dev_change_mtu()

In the hsr_dev_change_mtu(), the 'dev' and 'master->dev' pointer are
same. So, the 'master' variable and some code are unnecessary.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c