bluetooth: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])
authorElyes Haouas <ehaouas@noos.fr>
Mon, 29 Apr 2024 02:55:30 +0000 (20:55 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 29 Apr 2024 03:24:46 +0000 (21:24 -0600)
commitfdbf7cab91ae9ae7ca87bd47acb7400813bd7160
tree01ea21490a9c580fdc3766c02389ce9c4769aa59
parent2b8df536a68169953a9fa470b78a021156d997aa
bluetooth: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])

Pull Request: https://github.com/freebsd/freebsd-src/pull/888
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
usr.sbin/bluetooth/bthidcontrol/sdp.c
usr.sbin/bluetooth/bthidd/kbd.c
usr.sbin/bluetooth/hccontrol/hccontrol.c
usr.sbin/bluetooth/hccontrol/node.c
usr.sbin/bluetooth/sdpcontrol/search.c
usr.sbin/bluetooth/sdpd/profile.c
usr.sbin/bluetooth/sdpd/sar.c
usr.sbin/bluetooth/sdpd/srr.c
usr.sbin/bluetooth/sdpd/ssr.c