. Remove the check to avoid confusing people
with incorrect code.
Signed-off-by: Maxim Petrov
---
Changes in V2:
* Remove the incorrect check instead of fixing it (suggested by
David Miller)
* Add clarification to the function description
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 7
compilers are free to remove the pointer
check at all.
Signed-off-by: Maxim Petrov
---
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 20 +++
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
b/drivers/net/ethernet