diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2023-04-15 11:35:27 +0900 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-06-23 14:59:38 -0500 |
commit | f6ec33979e9ae7fcc2b5582bd3bfdfaa1fc98a78 (patch) | |
tree | 34b0ba4b913520b5d82c6ee81feabc70ae70ff1f /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 70b3740f2c1941e2006d61539131b70d20cba9a6 (diff) |
PCI: endpoint: Move pci_epf_type_add_cfs() code
pci_epf_type_add_cfs() is called only from pci_ep_cfs_add_type_group() in
drivers/pci/endpoint/pci-ep-cfs.c, so there is no need to export this
function. Move its code from pci-epf-core.c to pci-ep-cfs.c as a static
function.
Link: https://lore.kernel.org/r/20230415023542.77601-3-dlemoal@kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions