mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-16 04:18:59 +00:00
bsps/shared/*: 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
1339ef1b10
commit
bc959e983f
@@ -302,6 +302,8 @@ static int cadence_spi_check_messages(
|
||||
const spi_ioc_transfer *msg,
|
||||
uint32_t size)
|
||||
{
|
||||
(void) bus;
|
||||
|
||||
while(size > 0) {
|
||||
if (msg->bits_per_word != 8) {
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user