]> git.baikalelectronics.ru Git - uboot.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)
commite844dba87d4366e5fb729c178631f7bb5f828ee5
tree8337a425772b8e2e7bb2588b4b3289159ac4a4ac
parent7bc35787370404a9b5a769b33bb923e6e52ece6a
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