summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2014-03-10 21:40:58 +0000
committerkrw <krw@openbsd.org>2014-03-10 21:40:58 +0000
commit87dc51448f11105eb5507d1109589843b83513de (patch)
tree7653fef0d79dd0820312ca7769ee678dd2e2d8d8 /sys/dev/usb/uhub.c
parentSupport BUS_DMA_NOCACHE in bus_dma(9). Memory allocations done with (diff)
downloadwireguard-openbsd-87dc51448f11105eb5507d1109589843b83513de.tar.xz
wireguard-openbsd-87dc51448f11105eb5507d1109589843b83513de.zip
No need to pass the name of the command to the function that is
implementing that command, a pointer to the command arguments is the only thing needed. No need to have a pointer to the command table in every command, since there is only one table. No need for shiney new stack space for every command name and arguments parsed, since we don't recurse we can just use static memory. No intentional functional change.
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions