Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/arch/sgimips/dev



"Michael Lorenz" writes:
> Module Name:  src
> Committed By: macallan
> Date:         Mon Jun  2 15:07:24 UTC 2014
> 
> Modified Files:
>       src/sys/arch/sgimips/dev: int.c
> 
> Log Message:
> sprinkle __unused()

hmmm, these seems wrong:

!       int __unused(startmsb), __unused(lsb), msb;

startmsb is unused, and seems can just be deleted as well
as the assignment to it.

lsb is only used as a return value from bus_space_read_1()
and can also be deleted and (void) written before the call
to bus_space to signify we know we're ignoring it.


.mrg.


Home | Main Index | Thread Index | Old Index