forked from Minki/linux
6lowpan: iphc: remove unnecessary zero data
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>
This commit is contained in:
parent
7115a968b7
commit
2bc068c3d6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user