mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
bsps/mips/hurricane: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter.
This commit is contained in:
committed by
Gedare Bloom
parent
ef2367aec6
commit
ab125bc118
@@ -108,6 +108,8 @@ rtems_isr Clock_isr(
|
||||
rtems_vector_number vector
|
||||
)
|
||||
{
|
||||
(void) vector;
|
||||
|
||||
/*
|
||||
* bump the number of clock driver ticks since initialization
|
||||
*
|
||||
@@ -131,6 +133,8 @@ rtems_isr User_Clock_isr(
|
||||
rtems_vector_number vector
|
||||
)
|
||||
{
|
||||
(void) vector;
|
||||
|
||||
if (user_callback)
|
||||
user_callback();
|
||||
}
|
||||
@@ -146,6 +150,8 @@ void Install_clock(
|
||||
rtems_isr_entry clock_isr
|
||||
)
|
||||
{
|
||||
(void) clock_isr;
|
||||
|
||||
/*
|
||||
* Initialize the clock tick device driver variables
|
||||
*/
|
||||
|
||||
@@ -56,6 +56,9 @@ rtems_device_driver console_initialize(
|
||||
void *arg
|
||||
)
|
||||
{
|
||||
(void) minor;
|
||||
(void) arg;
|
||||
|
||||
rtems_status_code status;
|
||||
|
||||
status = rtems_io_register_name(
|
||||
@@ -116,6 +119,10 @@ rtems_device_driver console_open(
|
||||
void * arg
|
||||
)
|
||||
{
|
||||
(void) major;
|
||||
(void) minor;
|
||||
(void) arg;
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
@@ -129,6 +136,10 @@ rtems_device_driver console_close(
|
||||
void * arg
|
||||
)
|
||||
{
|
||||
(void) major;
|
||||
(void) minor;
|
||||
(void) arg;
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
@@ -141,6 +152,9 @@ rtems_device_driver console_read(
|
||||
void * arg
|
||||
)
|
||||
{
|
||||
(void) major;
|
||||
(void) minor;
|
||||
|
||||
rtems_libio_rw_args_t *rw_args;
|
||||
char *buffer;
|
||||
int maximum;
|
||||
@@ -172,6 +186,9 @@ rtems_device_driver console_write(
|
||||
void * arg
|
||||
)
|
||||
{
|
||||
(void) major;
|
||||
(void) minor;
|
||||
|
||||
int count;
|
||||
int maximum;
|
||||
rtems_libio_rw_args_t *rw_args;
|
||||
@@ -202,6 +219,10 @@ rtems_device_driver console_control(
|
||||
void * arg
|
||||
)
|
||||
{
|
||||
(void) major;
|
||||
(void) minor;
|
||||
(void) arg;
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@ void mips_default_isr( int vector );
|
||||
|
||||
void mips_vector_isr_handlers( CPU_Interrupt_frame *frame )
|
||||
{
|
||||
(void) frame;
|
||||
|
||||
unsigned int sr;
|
||||
unsigned int cause;
|
||||
unsigned int i;
|
||||
|
||||
Reference in New Issue
Block a user