git: 6f78dae8491b - main - cam: Remove redunant static __inline forward decls

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 02 May 2022 16:29:18 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6f78dae8491b99f2d95e1d20f8a912c0fb404723

commit 6f78dae8491b99f2d95e1d20f8a912c0fb404723
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-05-02 15:29:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-05-02 15:30:07 +0000

    cam: Remove redunant static __inline forward decls
    
    Sponsored by:           Netflix
---
 sys/cam/cam_queue.c |  4 ----
 sys/cam/cam_queue.h | 24 ------------------------
 2 files changed, 28 deletions(-)

diff --git a/sys/cam/cam_queue.c b/sys/cam/cam_queue.c
index 5ad765583020..98d03283b80b 100644
--- a/sys/cam/cam_queue.c
+++ b/sys/cam/cam_queue.c
@@ -46,10 +46,6 @@ static MALLOC_DEFINE(M_CAMQ, "CAM queue", "CAM queue buffers");
 static MALLOC_DEFINE(M_CAMDEVQ, "CAM dev queue", "CAM dev queue buffers");
 static MALLOC_DEFINE(M_CAMCCBQ, "CAM ccb queue", "CAM ccb queue buffers");
 
-static __inline int
-		queue_cmp(cam_pinfo **queue_array, int i, int j);
-static __inline void
-		swap(cam_pinfo **queue_array, int i, int j);
 static void	heap_up(cam_pinfo **queue_array, int new_index);
 static void	heap_down(cam_pinfo **queue_array, int index,
 			  int last_index);
diff --git a/sys/cam/cam_queue.h b/sys/cam/cam_queue.h
index e5928027f030..f1055543e768 100644
--- a/sys/cam/cam_queue.h
+++ b/sys/cam/cam_queue.h
@@ -142,30 +142,6 @@ cam_pinfo	*camq_remove(struct camq *queue, int index);
 void		camq_change_priority(struct camq *queue, int index,
 				     u_int32_t new_priority);
 
-static __inline int
-cam_ccbq_pending_ccb_count(struct cam_ccbq *ccbq);
-
-static __inline void
-cam_ccbq_take_opening(struct cam_ccbq *ccbq);
-
-static __inline void
-cam_ccbq_insert_ccb(struct cam_ccbq *ccbq, union ccb *new_ccb);
-
-static __inline void
-cam_ccbq_remove_ccb(struct cam_ccbq *ccbq, union ccb *ccb);
-
-static __inline union ccb *
-cam_ccbq_peek_ccb(struct cam_ccbq *ccbq, int index);
-
-static __inline void
-cam_ccbq_send_ccb(struct cam_ccbq *queue, union ccb *send_ccb);
-
-static __inline void
-cam_ccbq_ccb_done(struct cam_ccbq *ccbq, union ccb *done_ccb);
-
-static __inline void
-cam_ccbq_release_opening(struct cam_ccbq *ccbq);
-
 static __inline int
 cam_ccbq_pending_ccb_count(struct cam_ccbq *ccbq)
 {