]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mvneta: Drop unneeded macro
authorMarek Behún <marek.behun@nic.cz>
Wed, 27 Apr 2022 10:42:02 +0000 (12:42 +0200)
committerStefan Roese <sr@denx.de>
Wed, 4 May 2022 05:05:51 +0000 (07:05 +0200)
commit95a3a6ee086d47a8e0cd573e327fd48a97d87439
tree8337a425772b8e2e7bb2588b4b3289159ac4a4ac
parentbdbda1e82667addb256ef7ee11718615e350c697
net: mvneta: Drop unneeded macro

Macro MVNETA_GMAC_FORCE_LINK_UP can be dropped from value assignment in
fixed link case, since it's value is written into the register later in
the function for link-down-to-link-up case. The value is written as
MVNETA_GMAC_FORCE_LINK_DOWN | MVNETA_GMAC_FORCE_LINK_PASS, and so the
macro definition can also be dropped.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/net/mvneta.c