commit | a635037ac1106202118a6cccc83c877caa6e1c9a | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Wed Jul 03 00:22:56 2019 +0900 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 07 18:42:47 2019 -0700 |
tree | 41944f682e816adb85ba5a2d047e515a68e5c34e | |
parent | 1788b8569f5de27da09087fa3f6580d2aa04cc75 [diff] |
gtp: remove duplicate code in gtp_dellink() gtp_encap_disable() in gtp_dellink() is unnecessary because it will be called by unregister_netdevice(). unregister_netdevice() internally calls gtp_dev_uninit() by ->ndo_uninit(). And gtp_dev_uninit() calls gtp_encap_disable(). Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>