Commit 2bc068c3 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann

6lowpan: iphc: remove unnecessary zero data

This patch removes unnecessary zero data for a stack variable.
Signed-off-by: default avatarAlexander Aring <aar@pengutronix.de>
Acked-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 7115a968
...@@ -177,7 +177,7 @@ lowpan_iphc_uncompress_802154_lladdr(struct in6_addr *ipaddr, ...@@ -177,7 +177,7 @@ lowpan_iphc_uncompress_802154_lladdr(struct in6_addr *ipaddr,
const void *lladdr) const void *lladdr)
{ {
const struct ieee802154_addr *addr = lladdr; const struct ieee802154_addr *addr = lladdr;
u8 eui64[EUI64_ADDR_LEN] = { }; u8 eui64[EUI64_ADDR_LEN];
switch (addr->mode) { switch (addr->mode) {
case IEEE802154_ADDR_LONG: case IEEE802154_ADDR_LONG:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment