]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: simplify PPv2 version ID read
authorStefan Chulski <stefanc@marvell.com>
Sun, 14 Feb 2021 13:38:34 +0000 (15:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 01:40:43 +0000 (17:40 -0800)
commit8b986866b252c272a93f734ab8f1e577c7977677
tree6972796aabd349ca7b381f0af682c756ac347f29
parent7f6334f7ef69cf5098b9d28f863a3014b43f59c6
net: mvpp2: simplify PPv2 version ID read

PPv2.1 contain 0 in Version ID register, priv->hw_version check
can be removed.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c