]> git.baikalelectronics.ru Git - kernel.git/commit
qed: move chain initialization inlines next to allocation functions
authorAlexander Lobakin <alobakin@marvell.com>
Wed, 22 Jul 2020 22:10:36 +0000 (01:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 01:19:03 +0000 (18:19 -0700)
commit8ca779fc4eb69105846882569ec6a791e2a7a4f4
treede4ce04160f0e86be852d5a4b421b1b57b9c2418
parent6057ee25fb997c9883618d56c6f4e551ac2f160d
qed: move chain initialization inlines next to allocation functions

qed_chain_init*() are used in one file/place on "cold" path only, so they
can be uninlined and moved next to the call sites.

Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_chain.c
include/linux/qed/qed_chain.h