Skip to content

Commit

Permalink
drivers: wncm14a2a: Remove unneeded assignment
Browse files Browse the repository at this point in the history
Assignment is not needed here.

Signed-off-by: Andrei Emeltchenko <[email protected]>
  • Loading branch information
finikorg authored and carlescufi committed Jul 1, 2022
1 parent 4628dc6 commit 0466ac2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/modem/wncm14a2a.c
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,6 @@ static int offload_send(struct net_pkt *pkt,
struct net_context *context = net_pkt_context(pkt);
socklen_t addrlen;

addrlen = 0;
#if defined(CONFIG_NET_IPV6)
if (net_pkt_family(pkt) == AF_INET6) {
addrlen = sizeof(struct sockaddr_in6);
Expand Down

0 comments on commit 0466ac2

Please sign in to comment.