remove two lines to prevent crash during compile for the mbed frdm k64f

Dependencies:   Socket lwip-eth lwip-sys lwip

Fork of EthernetInterface by mbed official

no such method: docs