Skip to content
Commit 82d6fe70 authored by Armin Brauns's avatar Armin Brauns Committed by Carles Cufí
Browse files

drivers: ethernet: stm32: avoid unnecessary casts, silence warnings



There is no need to use *_cmp_raw() functions here, all they do is cast the
pointers to in(6)_addr* and call the non-raw functions. Additionally, this
fixes a warning for the net_ipv6_addr_cmp_raw() call, which didn't cast the
arguments correctly.

Signed-off-by: default avatarArmin Brauns <armin.brauns@embedded-solutions.at>
parent 3c4e842c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment