Remove some unused variables
This commit is contained in:
parent
d8022f8cf8
commit
f26febe13d
2 changed files with 0 additions and 4 deletions
|
@ -106,8 +106,6 @@ namespace Net::Ipv4
|
||||||
void HandlePacket(
|
void HandlePacket(
|
||||||
const Ethernet::Header& ethernetHeader, const uint8_t* buffer, const size_t bufferSize)
|
const Ethernet::Header& ethernetHeader, const uint8_t* buffer, const size_t bufferSize)
|
||||||
{
|
{
|
||||||
char printBuffer[USPI_FRAME_BUFFER_SIZE] = {};
|
|
||||||
|
|
||||||
Header header;
|
Header header;
|
||||||
const auto headerSize = Header::Deserialize(header, buffer, bufferSize);
|
const auto headerSize = Header::Deserialize(header, buffer, bufferSize);
|
||||||
if (headerSize != Header::SerializedLength())
|
if (headerSize != Header::SerializedLength())
|
||||||
|
|
|
@ -29,7 +29,6 @@ namespace Net
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wait 3 seconds, then run postInitialize
|
// Wait 3 seconds, then run postInitialize
|
||||||
const auto optionsVoid = static_cast<void*>(&options);
|
|
||||||
DEBUG_LOG("Scheduled post-init\r\n");
|
DEBUG_LOG("Scheduled post-init\r\n");
|
||||||
Net::options = &options;
|
Net::options = &options;
|
||||||
postInitializeTime = read32(ARM_SYSTIMER_CLO) + 30000;
|
postInitializeTime = read32(ARM_SYSTIMER_CLO) + 30000;
|
||||||
|
@ -86,7 +85,6 @@ namespace Net
|
||||||
{
|
{
|
||||||
// Try parsing the IP address in the options.
|
// Try parsing the IP address in the options.
|
||||||
unsigned int ip[4];
|
unsigned int ip[4];
|
||||||
char dot;
|
|
||||||
int scanned =
|
int scanned =
|
||||||
sscanf(options->GetIPAddress(), "%u.%u.%u.%u", &ip[0], &ip[1], &ip[2], &ip[3]);
|
sscanf(options->GetIPAddress(), "%u.%u.%u.%u", &ip[0], &ip[1], &ip[2], &ip[3]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue