diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2014-12-04 05:52:01 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-12-05 06:43:05 -0500 |
commit | 1db996045213e02a5c5e31ef6b07b3154b4f9bd9 (patch) | |
tree | d041675482bb36f5f37b55681408ad159904ab81 /net/mac802154 | |
parent | a4dc132196ba776d3c34ef91b484e7fa19c0f994 (diff) |
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>
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/llsec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac802154/llsec.c b/net/mac802154/llsec.c index 4a661f7f8d5a..dcf73958133a 100644 --- a/net/mac802154/llsec.c +++ b/net/mac802154/llsec.c | |||
@@ -298,12 +298,12 @@ static bool llsec_dev_use_shortaddr(__le16 short_addr) | |||
298 | 298 | ||
299 | static u32 llsec_dev_hash_short(__le16 short_addr, __le16 pan_id) | 299 | static u32 llsec_dev_hash_short(__le16 short_addr, __le16 pan_id) |
300 | { | 300 | { |
301 | return ((__force u16) short_addr) << 16 | (__force u16) pan_id; | 301 | return ((__force u16)short_addr) << 16 | (__force u16)pan_id; |
302 | } | 302 | } |
303 | 303 | ||
304 | static u64 llsec_dev_hash_long(__le64 hwaddr) | 304 | static u64 llsec_dev_hash_long(__le64 hwaddr) |
305 | { | 305 | { |
306 | return (__force u64) hwaddr; | 306 | return (__force u64)hwaddr; |
307 | } | 307 | } |
308 | 308 | ||
309 | static struct mac802154_llsec_device* | 309 | static struct mac802154_llsec_device* |