From: Alexander Aring Date: Mon, 11 Apr 2016 09:04:21 +0000 (+0200) Subject: 6lowpan: iphc: remove unnecessary zero data X-Git-Tag: v4.14-rc1~3245^2~200^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bc068c3d6e1212d09c11169c699560747ef8c2b;p=platform%2Fkernel%2Flinux-rpi.git 6lowpan: iphc: remove unnecessary zero data This patch removes unnecessary zero data for a stack variable. Signed-off-by: Alexander Aring Acked-by: Jukka Rissanen Signed-off-by: Marcel Holtmann --- diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c index 66b4139..2999240 100644 --- 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: