From: Stefan Schmidt <s.schmidt@samsung.com>
Date: Thu, 4 Dec 2014 10:52:01 +0000 (+0100)
Subject: net/mac802154: No need for an extra space when casting
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1db996045213e02a5c5e31ef6b07b3154b4f9bd9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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>
---

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)
 
 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*