Redo previous to fix build break.
Add needed sys/stat.h include for utimens functions.
Remove unused variable and ifdef some others like their use
Remove unused variable and ifdef another like their use
Remove unused variable
Remove unused variables
Remove a few unused variables, ifdef others like their use
Remove unused variables
Fix return value of ipf_sync_nat
Use __KERNEL_RCSID.
Mark mach64_set_dma_eol as unused.
Remove unused variables, use C99 open arrays for variable sized arrays
Remove unused variable
Fix build release of evbarm which had been failing in mkimage
beagleboard_smp with the elusive message:

    "gzip: can't stat: gzip: No such file or directory"

This was due to GZIP=gzip being defined in mkimage; we now use:

    GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)

as distrib/sets/sets.subr already does in these files as well:

    distrib/utils/embedded/mkimage
    distrib/utils/embedded/conf/beagleboard.conf
    distrib/utils/embedded/conf/rpi.conf
    distrib/utils/embedded/conf/rpi_inst.conf
GC put16.
XXX Use sys/endian.h
GC max_cpus.
#if 0 iop_status, but keep it for documentation purposes.
Put helper functions for debugging under the corresponding debug
options.
GC unused functions and variables.
Don't include atw_hw_decrypted, it is not used. Keep it for
documentation purposes.