]> www.infradead.org Git - users/willy/linux.git/commit
net: fman_memac: remove the now unnecessary checking for fixed-link
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 29 May 2024 13:29:35 +0000 (14:29 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 31 May 2024 01:32:16 +0000 (18:32 -0700)
commit5e332954e7609acc9a265fcd9df53a3102206c8d
tree5f9cea0bfc67d83e8a6f9e83020130fdb91828e5
parent02d00dc73d8d0613f82063ed53d67912a422c21e
net: fman_memac: remove the now unnecessary checking for fixed-link

Since default_an_inband can be overriden by a fixed-link specification,
there is no need for memac to be checking for this before setting
default_an_inband. Remove this code and update the comment.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/E1sCJN1-00Ecr7-02@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fman/fman_memac.c