summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs/include/ieee80211.h
diff options
context:
space:
mode:
authorDave Airlie2019-02-18 04:27:15 +0100
committerDave Airlie2019-02-18 04:27:15 +0100
commitc06de56121e3ac0f0f1f4a081c041654ffcacd62 (patch)
tree3662e7052352b0f1b78e8832b1d3b91ca211b798 /drivers/staging/rtl8723bs/include/ieee80211.h
parentMerge tag 'drm-misc-next-2019-02-11' of git://anongit.freedesktop.org/drm/drm... (diff)
parentLinux 5.0-rc7 (diff)
downloadkernel-qcow2-linux-c06de56121e3ac0f0f1f4a081c041654ffcacd62.tar.gz
kernel-qcow2-linux-c06de56121e3ac0f0f1f4a081c041654ffcacd62.tar.xz
kernel-qcow2-linux-c06de56121e3ac0f0f1f4a081c041654ffcacd62.zip
Merge v5.0-rc7 into drm-next
Backmerging for nouveau and imx that needed some fixes for next pulls. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/staging/rtl8723bs/include/ieee80211.h')
-rw-r--r--drivers/staging/rtl8723bs/include/ieee80211.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h
index bcc8dfa8e672..9efb4dcb9d3a 100644
--- a/drivers/staging/rtl8723bs/include/ieee80211.h
+++ b/drivers/staging/rtl8723bs/include/ieee80211.h
@@ -850,18 +850,18 @@ enum ieee80211_state {
#define IP_FMT "%pI4"
#define IP_ARG(x) (x)
-extern __inline int is_multicast_mac_addr(const u8 *addr)
+static inline int is_multicast_mac_addr(const u8 *addr)
{
return ((addr[0] != 0xff) && (0x01 & addr[0]));
}
-extern __inline int is_broadcast_mac_addr(const u8 *addr)
+static inline int is_broadcast_mac_addr(const u8 *addr)
{
return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \
(addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));
}
-extern __inline int is_zero_mac_addr(const u8 *addr)
+static inline int is_zero_mac_addr(const u8 *addr)
{
return ((addr[0] == 0x00) && (addr[1] == 0x00) && (addr[2] == 0x00) && \
(addr[3] == 0x00) && (addr[4] == 0x00) && (addr[5] == 0x00));