Skip to content
Commit 6ed3f61e authored by Jean Sacren's avatar Jean Sacren Committed by Jakub Kicinski
Browse files

net: tg3: fix redundant check of true expression



Remove the redundant check of (tg3_asic_rev(tp) == ASIC_REV_5705) after
it is checked to be true.

Signed-off-by: default avatarJean Sacren <sakiwit@gmail.com>
Reviewed-by: default avatarMichael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20211008063147.1421-1-sakiwit@gmail.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e761523d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment