net/tstun: remove unused function DefaultMTU()

Now that corp is updated, remove the shim code to bridge the rename from
DefaultMTU() to DefaultTUNMTU.

Updates #311

Signed-off-by: Val <valerie@tailscale.com>
This commit is contained in:
Val 2023-09-22 17:54:52 +02:00 committed by valscale
parent 4130851f12
commit c26d91d6bd
1 changed files with 0 additions and 6 deletions

View File

@ -141,12 +141,6 @@ func DefaultTUNMTU() TUNMTU {
return safeTUNMTU
}
// Temporary workaround for code on corp that uses this function name.
// TODO(val): Remove as soon as corp OSS is updated.
func DefaultMTU() uint32 {
return uint32(DefaultTUNMTU())
}
// DefaultWireMTU returns the default TUN MTU, adjusted for wireguard
// overhead.
func DefaultWireMTU() WireMTU {