git: 54521a6fe672 - main - cam: Remove prototype for cam_sim_alloc_dev
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Dec 2023 01:33:20 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=54521a6fe672d1c3ff79951bba71e6e3827b4d55 commit 54521a6fe672d1c3ff79951bba71e6e3827b4d55 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-12-01 01:17:30 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-12-01 01:32:39 +0000 cam: Remove prototype for cam_sim_alloc_dev The implementation was removed in dcd5dea96509, but the prototype was not. Correct that oversight. Fixes: dcd5dea96509 Sponsored by: Netflix --- sys/cam/cam_sim.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys/cam/cam_sim.h b/sys/cam/cam_sim.h index 142409b918a4..d668b9b86c21 100644 --- a/sys/cam/cam_sim.h +++ b/sys/cam/cam_sim.h @@ -60,15 +60,6 @@ struct cam_sim * cam_sim_alloc(sim_action_func sim_action, int max_dev_transactions, int max_tagged_dev_transactions, struct cam_devq *queue); -struct cam_sim * cam_sim_alloc_dev(sim_action_func sim_action, - sim_poll_func sim_poll, - const char *sim_name, - void *softc, - device_t dev, - struct mtx *mtx, - int max_dev_transactions, - int max_tagged_dev_transactions, - struct cam_devq *queue); void cam_sim_free(struct cam_sim *sim, int free_devq); void cam_sim_hold(struct cam_sim *sim); void cam_sim_release(struct cam_sim *sim);