You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2017/11/28 20:53:54 UTC
[GitHub] mkiiskila closed pull request #683: stm32_eth; fix compiler warning.
mkiiskila closed pull request #683: stm32_eth; fix compiler warning.
URL: https://github.com/apache/mynewt-core/pull/683
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
index 6aa8a8d45..f63b22036 100755
--- a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
+++ b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
@@ -134,7 +134,7 @@ stm32_eth_fill_rx(struct stm32_eth_state *ses)
}
}
-static struct pbuf *
+static void
stm32_eth_input(struct stm32_eth_state *ses)
{
struct stm32_eth_desc *sed;
@@ -178,8 +178,6 @@ stm32_eth_input(struct stm32_eth_state *ses)
ses->st_eth.Instance->DMASR = ETH_DMASR_RBUS;
ses->st_eth.Instance->DMARPDR = 0;
}
-
- return p;
}
void
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services