[PATCH 6.11 034/135] net: fec: Remove duplicated code