[rtems commit] bsps/arm: Remove superfluous attributes
Sebastian Huber
sebh at rtems.org
Tue Dec 18 10:18:04 UTC 2012
Module: rtems
Branch: master
Commit: 5970dcc9e2d5e824b3d47e73043f51316f8fcd30
Changeset: http://git.rtems.org/rtems/commit/?id=5970dcc9e2d5e824b3d47e73043f51316f8fcd30
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Dec 14 10:28:18 2012 +0100
bsps/arm: Remove superfluous attributes
---
.../libbsp/arm/shared/lpc/network/lpc-ethernet.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c b/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c
index b74f045..8dc4032 100644
--- a/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c
+++ b/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c
@@ -1084,7 +1084,7 @@ static uint32_t lpc_eth_mdio_read_anlpar(void)
}
static int lpc_eth_mdio_read(
- int phy __attribute__((unused)),
+ int phy,
void *arg __attribute__((unused)),
unsigned reg,
uint32_t *val
@@ -1106,7 +1106,7 @@ static int lpc_eth_mdio_read(
}
static int lpc_eth_mdio_write(
- int phy __attribute__((unused)),
+ int phy,
void *arg __attribute__((unused)),
unsigned reg,
uint32_t val
@@ -1366,7 +1366,7 @@ static void lpc_eth_interface_start(struct ifnet *ifp)
RTEMS_SYSLOG_ERROR_SC(sc, "send transmit start event");
}
-static void lpc_eth_interface_watchdog(struct ifnet *ifp __attribute__((unused)))
+static void lpc_eth_interface_watchdog(struct ifnet *ifp)
{
lpc_eth_driver_entry *e = (lpc_eth_driver_entry *) ifp->if_softc;
uint32_t anlpar = lpc_eth_mdio_read_anlpar();
More information about the vc
mailing list