[Patch] Removing legacy method from arm csb337

Andreas Heinig andreas.heinig at cs.tu-dortmund.de
Tue Jul 2 06:41:06 UTC 2013


Hello Vipul,

> diff --git a/c/src/lib/libbsp/arm/csb337/network/network.c
> b/c/src/lib/libbsp/arm/csb337/network/network.c index e31bcc0..3a02073
> 100644
> --- a/c/src/lib/libbsp/arm/csb337/network/network.c
> +++ b/c/src/lib/libbsp/arm/csb337/network/network.c
> @@ -358,6 +358,7 @@ void at91rm9200_emac_init(void *arg)
>  {
>      at91rm9200_emac_softc_t     *sc = arg;
>      struct ifnet *ifp = &sc->arpcom.ac_if;
> +    rtems_status_code sc = RTEMS_SUCCESSFUL;

Hello,

you used 'sc' twice:
1) at91rm9200_emac_softc_t
2) rtems_status_code

Cheers
Andreas




More information about the devel mailing list