Remove unused vars.

This commit is contained in:
Ralf Corsepius
2009-10-22 11:46:05 +00:00
parent c38407e6be
commit fc5799fb88
5 changed files with 0 additions and 9 deletions

View File

@@ -52,7 +52,6 @@ static void lpc24xx_clock_handler_install( void)
static void lpc24xx_clock_initialize( void)
{
rtems_interrupt_level level;
uint64_t interval = ((uint64_t) lpc24xx_cclk()
* (uint64_t) rtems_configuration_get_microseconds_per_tick()) / 1000000;

View File

@@ -32,8 +32,6 @@ static bool lpc24xx_dma_channel_occupation [GPDMA_CH_NUMBER];
void lpc24xx_dma_initialize(void)
{
rtems_interrupt_level level;
/* Enable module power */
lpc24xx_module_enable(LPC24XX_MODULE_GPDMA, 0, LPC24XX_MODULE_PCLK_DEFAULT);

View File

@@ -1079,8 +1079,6 @@ static void lpc24xx_eth_interface_start(struct ifnet *ifp)
static void lpc24xx_eth_interface_watchdog(struct ifnet *ifp)
{
lpc24xx_eth_driver_entry *e = (lpc24xx_eth_driver_entry *) ifp->if_softc;
LPC24XX_ETH_PRINTF("%s\n", __func__);
}
@@ -1091,7 +1089,6 @@ static int lpc24xx_eth_attach(struct rtems_bsdnet_ifconfig *config)
struct ifnet *ifp = &e->arpcom.ac_if;
char *unit_name = NULL;
int unit_number = rtems_bsdnet_parse_driver_name(config, &unit_name);
uint32_t reg = 0;
/* Check parameter */
if (unit_number < 0) {

View File

@@ -27,8 +27,6 @@
static void lpc24xx_rtc_initialize( int minor)
{
rtems_interrupt_level level;
/* Enable module power */
lpc24xx_module_enable( LPC24XX_MODULE_RTC, 0, LPC24XX_MODULE_PCLK_DEFAULT);

View File

@@ -468,7 +468,6 @@ static int lpc24xx_ssp_read_write_async(
void *arg
)
{
rtems_status_code sc = RTEMS_SUCCESSFUL;
rtems_interrupt_level level;
lpc24xx_ssp_bus_entry *e = (lpc24xx_ssp_bus_entry *) bus;
volatile lpc24xx_ssp *ssp = e->regs;