Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

6lowpan: Remove redundant initialisation.

We'll call memset(&tmp, 0, sizeof(tmp)) later.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Kuniyuki Iwashima and committed by
David S. Miller
be689c71 8cdc3223

+1 -1
+1 -1
net/6lowpan/iphc.c
··· 848 848 const struct lowpan_iphc_ctx *ctx, 849 849 const unsigned char *lladdr, bool sam) 850 850 { 851 - struct in6_addr tmp = {}; 851 + struct in6_addr tmp; 852 852 u8 dam; 853 853 854 854 switch (lowpan_dev(dev)->lltype) {