]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: phylink: clean the pcs_get_state documentation
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 1 Mar 2024 16:43:08 +0000 (17:43 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 7 Mar 2024 14:27:05 +0000 (15:27 +0100)
commit 4d72c3bb60dd ("net: phylink: strip out pre-March 2020 legacy code")
dropped the mac_pcs_get_state ops in phylink_mac_ops in favor of
dedicated PCS operation pcs_get_state. However, the documentation for
the pcs_get_state ops was incorrectly converted and now self-references.

Drop the extra comment.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/phylink.h

index 6ba411732a0d2dbd3c3a69b6c0e53fecdb47b8d7..9a57deefcb078e3a2d31ba722f47878e80ee89a6 100644 (file)
@@ -480,9 +480,6 @@ void pcs_disable(struct phylink_pcs *pcs);
  * negotiation completion state in @state->an_complete, and link up state
  * in @state->link. If possible, @state->lp_advertising should also be
  * populated.
- *
- * When present, this overrides pcs_get_state() in &struct
- * phylink_pcs_ops.
  */
 void pcs_get_state(struct phylink_pcs *pcs,
                   struct phylink_link_state *state);