Skip to content

Commit 8782a24

Browse files
committed
ethernet: remove disconnect overload
1 parent b15ccf2 commit 8782a24

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

libraries/Ethernet/src/Ethernet.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ EthernetHardwareStatus EthernetClass::hardwareStatus() {
6767
}
6868
}
6969

70-
int EthernetClass::disconnect() {
71-
return NetworkInterface::disconnect();
72-
}
73-
7470
void EthernetClass::end() {
7571
disconnect();
7672
}

libraries/Ethernet/src/Ethernet.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ class EthernetClass : public NetworkInterface {
5353
}
5454

5555
void init(uint8_t sspin = 10);
56-
57-
int disconnect(void);
5856
void end(void);
5957

6058
IPAddress localIP();

0 commit comments

Comments
 (0)