mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
8cdc3223e7
commit
be689c719e
1 changed files with 1 additions and 1 deletions
|
@ -848,7 +848,7 @@ static u8 lowpan_compress_ctx_addr(u8 **hc_ptr, const struct net_device *dev,
|
||||||
const struct lowpan_iphc_ctx *ctx,
|
const struct lowpan_iphc_ctx *ctx,
|
||||||
const unsigned char *lladdr, bool sam)
|
const unsigned char *lladdr, bool sam)
|
||||||
{
|
{
|
||||||
struct in6_addr tmp = {};
|
struct in6_addr tmp;
|
||||||
u8 dam;
|
u8 dam;
|
||||||
|
|
||||||
switch (lowpan_dev(dev)->lltype) {
|
switch (lowpan_dev(dev)->lltype) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue