mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
net/mac802154: No need for an extra space when casting
Coding style cleanup. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
a4dc132196
commit
1db9960452
@ -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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
return (__force u64) hwaddr;
|
||||
return (__force u64)hwaddr;
|
||||
}
|
||||
|
||||
static struct mac802154_llsec_device*
|
||||
|
Loading…
Reference in New Issue
Block a user