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)
commit5e776d8016119e13c27fbb6e87c9e1fd6f8b2a75
treede4ce04160f0e86be852d5a4b421b1b57b9c2418
parent9b6ee3cf95d322ab02e9927f5b08ebc870ca9f1f
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