forked from Imagelibrary/rtems
Remove unused vars.
This commit is contained in:
@@ -52,7 +52,6 @@ static void lpc24xx_clock_handler_install( void)
|
|||||||
|
|
||||||
static void lpc24xx_clock_initialize( void)
|
static void lpc24xx_clock_initialize( void)
|
||||||
{
|
{
|
||||||
rtems_interrupt_level level;
|
|
||||||
uint64_t interval = ((uint64_t) lpc24xx_cclk()
|
uint64_t interval = ((uint64_t) lpc24xx_cclk()
|
||||||
* (uint64_t) rtems_configuration_get_microseconds_per_tick()) / 1000000;
|
* (uint64_t) rtems_configuration_get_microseconds_per_tick()) / 1000000;
|
||||||
|
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ static bool lpc24xx_dma_channel_occupation [GPDMA_CH_NUMBER];
|
|||||||
|
|
||||||
void lpc24xx_dma_initialize(void)
|
void lpc24xx_dma_initialize(void)
|
||||||
{
|
{
|
||||||
rtems_interrupt_level level;
|
|
||||||
|
|
||||||
/* Enable module power */
|
/* Enable module power */
|
||||||
lpc24xx_module_enable(LPC24XX_MODULE_GPDMA, 0, LPC24XX_MODULE_PCLK_DEFAULT);
|
lpc24xx_module_enable(LPC24XX_MODULE_GPDMA, 0, LPC24XX_MODULE_PCLK_DEFAULT);
|
||||||
|
|
||||||
|
|||||||
@@ -1079,8 +1079,6 @@ static void lpc24xx_eth_interface_start(struct ifnet *ifp)
|
|||||||
|
|
||||||
static void lpc24xx_eth_interface_watchdog(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__);
|
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;
|
struct ifnet *ifp = &e->arpcom.ac_if;
|
||||||
char *unit_name = NULL;
|
char *unit_name = NULL;
|
||||||
int unit_number = rtems_bsdnet_parse_driver_name(config, &unit_name);
|
int unit_number = rtems_bsdnet_parse_driver_name(config, &unit_name);
|
||||||
uint32_t reg = 0;
|
|
||||||
|
|
||||||
/* Check parameter */
|
/* Check parameter */
|
||||||
if (unit_number < 0) {
|
if (unit_number < 0) {
|
||||||
|
|||||||
@@ -27,8 +27,6 @@
|
|||||||
|
|
||||||
static void lpc24xx_rtc_initialize( int minor)
|
static void lpc24xx_rtc_initialize( int minor)
|
||||||
{
|
{
|
||||||
rtems_interrupt_level level;
|
|
||||||
|
|
||||||
/* Enable module power */
|
/* Enable module power */
|
||||||
lpc24xx_module_enable( LPC24XX_MODULE_RTC, 0, LPC24XX_MODULE_PCLK_DEFAULT);
|
lpc24xx_module_enable( LPC24XX_MODULE_RTC, 0, LPC24XX_MODULE_PCLK_DEFAULT);
|
||||||
|
|
||||||
|
|||||||
@@ -468,7 +468,6 @@ static int lpc24xx_ssp_read_write_async(
|
|||||||
void *arg
|
void *arg
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
rtems_status_code sc = RTEMS_SUCCESSFUL;
|
|
||||||
rtems_interrupt_level level;
|
rtems_interrupt_level level;
|
||||||
lpc24xx_ssp_bus_entry *e = (lpc24xx_ssp_bus_entry *) bus;
|
lpc24xx_ssp_bus_entry *e = (lpc24xx_ssp_bus_entry *) bus;
|
||||||
volatile lpc24xx_ssp *ssp = e->regs;
|
volatile lpc24xx_ssp *ssp = e->regs;
|
||||||
|
|||||||
Reference in New Issue
Block a user