Remove the size argument of iwm_rx_addbuf() and use a constant internally.
authorstsp <stsp@openbsd.org>
Wed, 26 Apr 2017 08:19:09 +0000 (08:19 +0000)
committerstsp <stsp@openbsd.org>
Wed, 26 Apr 2017 08:19:09 +0000 (08:19 +0000)
commit5750dc6a07a2c807e4a58b8c3c458b083057ef06
treeea232355ae1990ab9851060379f58fe087decd1a
parent123612c727641bfa3d427e909bd464ff27f56d4a
Remove the size argument of iwm_rx_addbuf() and use a constant internally.
All callers were passing the same constant IWM_RBUF_SIZE, which is derived
from the smallest RX buffer the hardware supports (4k). Smaller sizes don't
make sense anyway and larger sizes are not on our horizon for now.
sys/dev/pci/if_iwm.c