aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/lc-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/uwb/lc-dev.c')
-rw-r--r--drivers/uwb/lc-dev.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/uwb/lc-dev.c b/drivers/uwb/lc-dev.c
index 8c7cfab5cee3..72033589db19 100644
--- a/drivers/uwb/lc-dev.c
+++ b/drivers/uwb/lc-dev.c
@@ -43,13 +43,6 @@ static inline void uwb_mac_addr_init(struct uwb_mac_addr *addr)
43 memset(&addr->data, 0xff, sizeof(addr->data)); 43 memset(&addr->data, 0xff, sizeof(addr->data));
44} 44}
45 45
46/* @returns !0 if a device @addr is a broadcast address */
47static inline int uwb_dev_addr_bcast(const struct uwb_dev_addr *addr)
48{
49 static const struct uwb_dev_addr bcast = { .data = { 0xff, 0xff } };
50 return !uwb_dev_addr_cmp(addr, &bcast);
51}
52
53/* 46/*
54 * Add callback @new to be called when an event occurs in @rc. 47 * Add callback @new to be called when an event occurs in @rc.
55 */ 48 */