Skip to content

Commit

Permalink
Remove unused local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
episource committed Mar 5, 2022
1 parent a4c392b commit 44ec4a0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/EthernetUdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ int EthernetUDP::parsePacket()
//HACK - hand-parse the UDP packet using TCP recv method
uint8_t tmpBuf[20];
int ret=0;
int i;

if(W5100.getChip() == 61) {
//read 2 header bytes and get one IPv4 or IPv6
Expand Down
1 change: 0 additions & 1 deletion src/utility/w5100.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ uint8_t W5100Class::init(void)
uint8_t W5100Class::softReset(void)
{
uint16_t count=0;
uint8_t sysr;

if(chip == 61) {
writeCHPLCKR_W6100(W6100_CHPLCKR_UNLOCK); // Unlock SYSR[CHPL]
Expand Down
1 change: 0 additions & 1 deletion src/utility/w5100.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ class W5100Class {
} \
static inline uint8_t read##name(SOCKET _s) { \
if(chip == 61) { \
uint8_t data; \
return readSn(_s, adrss_w6100); \
} else { \
return readSn(_s, address); \
Expand Down

0 comments on commit 44ec4a0

Please sign in to comment.