Searched hist:f30e4720 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/hsr/ |
H A D | hsr_device.c | f30e4720 Fri Apr 24 07:43:09 CDT 2020 Taehee Yoo <ap420073@gmail.com> 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> f30e4720 Fri Apr 24 07:43:09 CDT 2020 Taehee Yoo <ap420073@gmail.com> 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>
|