projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7115a96
)
6lowpan: iphc: remove unnecessary zero data
author
Alexander Aring
<aar@pengutronix.de>
Mon, 11 Apr 2016 09:04:21 +0000
(11:04 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 13 Apr 2016 08:41:09 +0000
(10:41 +0200)
This patch removes unnecessary zero data for a stack variable.
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/iphc.c
patch
|
blob
|
blame
|
history
diff --git
a/net/6lowpan/iphc.c
b/net/6lowpan/iphc.c
index 66b41395ab808aab9924c1d2a1a7e9d026789ed5..29992405c816d112210f78d432ffe7991524d214 100644
(file)
--- a/
net/6lowpan/iphc.c
+++ b/
net/6lowpan/iphc.c
@@
-177,7
+177,7
@@
lowpan_iphc_uncompress_802154_lladdr(struct in6_addr *ipaddr,
const void *lladdr)
{
const struct ieee802154_addr *addr = lladdr;
- u8 eui64[EUI64_ADDR_LEN]
= { }
;
+ u8 eui64[EUI64_ADDR_LEN];
switch (addr->mode) {
case IEEE802154_ADDR_LONG: