These functions 'hisi_qm_create_qp' and 'hisi_qm_set_vft' are not used outside qm.c, so they are marked as static.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -445,13 +445,11 @@ int hisi_qm_init(struct hisi_qm *qm); · 444 unmodified lines | ||
| 445 | 445 | void hisi_qm_uninit(struct hisi_qm *qm); |
| 446 | 446 | int hisi_qm_start(struct hisi_qm *qm); |
| 447 | 447 | int hisi_qm_stop(struct hisi_qm *qm, enum qm_stop_reason r); |
| 448 | −struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type); | |
| 449 | 448 | int hisi_qm_start_qp(struct hisi_qp *qp, unsigned long arg); |
| 450 | 449 | int hisi_qm_stop_qp(struct hisi_qp *qp); |
| 451 | 450 | void hisi_qm_release_qp(struct hisi_qp *qp); |
| 452 | 451 | int hisi_qp_send(struct hisi_qp *qp, const void *msg); |
| 453 | 452 | int hisi_qm_get_free_qp_num(struct hisi_qm *qm); |
| 454 | −int hisi_qm_get_vft(struct hisi_qm *qm, u32 *base, u32 *number); | |
| 455 | 453 | void hisi_qm_debug_init(struct hisi_qm *qm); |
| 456 | 454 | void hisi_qm_debug_regs_clear(struct hisi_qm *qm); |
| 457 | 455 | int hisi_qm_sriov_enable(struct pci_dev *pdev, int max_vfs); |