aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorJuhee Kang <[email protected]>2022-11-30 01:12:44 +0900
committerPaolo Abeni <[email protected]>2022-12-01 13:54:44 +0100
commit4b6c6065fca123d419afef005a696f51e6590470 (patch)
tree852ad787b464aa36dde860a6996ed56ee96d408d /lib/mpi/mpi-add.c
parent9e855b1fe37f7ed6de7a2767edb49b851ab6c52f (diff)
r8169: use tp_to_dev instead of open code
The open code is defined as a helper function(tp_to_dev) on r8169_main.c, which the open code is &tp->pci_dev->dev. The helper function was added in commit 1e1205b7d3e9 ("r8169: add helper tp_to_dev"). And then later, commit f1e911d5d0df ("r8169: add basic phylib support") added r8169_phylink_handler function but it didn't use the helper function. Thus, tp_to_dev() replaces the open code. This patch doesn't change logic. Signed-off-by: Juhee Kang <[email protected]> Reviewed-by: Heiner Kallweit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions