提交 1db99604 编写于 作者: S Stefan Schmidt 提交者: Marcel Holtmann

net/mac802154: No need for an extra space when casting

Coding style cleanup.
Signed-off-by: NStefan Schmidt <s.schmidt@samsung.com>
Acked-by: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 a4dc1321
...@@ -298,12 +298,12 @@ static bool llsec_dev_use_shortaddr(__le16 short_addr) ...@@ -298,12 +298,12 @@ static bool llsec_dev_use_shortaddr(__le16 short_addr)
static u32 llsec_dev_hash_short(__le16 short_addr, __le16 pan_id) static u32 llsec_dev_hash_short(__le16 short_addr, __le16 pan_id)
{ {
return ((__force u16) short_addr) << 16 | (__force u16) pan_id; return ((__force u16)short_addr) << 16 | (__force u16)pan_id;
} }
static u64 llsec_dev_hash_long(__le64 hwaddr) static u64 llsec_dev_hash_long(__le64 hwaddr)
{ {
return (__force u64) hwaddr; return (__force u64)hwaddr;
} }
static struct mac802154_llsec_device* static struct mac802154_llsec_device*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册