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)
commitf30e472071c827e2c2f191c8a011b7e371e17af5
tree54f3f7fad3b2d60c2a147ae14a0fbfb26165d2f8
parent071c8ed6e88d2ac0a5f26948fb9c288fd4dd6e40
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