Skip to content

Commit adedd0f

Browse files
Yue Haibingmartinkpetersen
authored andcommitted
scsi: bnx2i: Remove unused declarations
Commit cf4e636 ("[SCSI] bnx2i: Add bnx2i iSCSI driver.") declared but never implemented these. Signed-off-by: Yue Haibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 70302fc commit adedd0f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/scsi/bnx2i/bnx2i.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -815,11 +815,6 @@ extern struct bnx2i_hba *get_adapter_list_head(void);
815815
struct bnx2i_conn *bnx2i_get_conn_from_id(struct bnx2i_hba *hba,
816816
u16 iscsi_cid);
817817

818-
int bnx2i_alloc_ep_pool(void);
819-
void bnx2i_release_ep_pool(void);
820-
struct bnx2i_endpoint *bnx2i_ep_ofld_list_next(struct bnx2i_hba *hba);
821-
struct bnx2i_endpoint *bnx2i_ep_destroy_list_next(struct bnx2i_hba *hba);
822-
823818
struct bnx2i_hba *bnx2i_find_hba_for_cnic(struct cnic_dev *cnic);
824819

825820
struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic);
@@ -869,12 +864,6 @@ extern int bnx2i_arm_cq_event_coalescing(struct bnx2i_endpoint *ep, u8 action);
869864

870865
extern int bnx2i_hw_ep_disconnect(struct bnx2i_endpoint *bnx2i_ep);
871866

872-
/* Debug related function prototypes */
873-
extern void bnx2i_print_pend_cmd_queue(struct bnx2i_conn *conn);
874-
extern void bnx2i_print_active_cmd_queue(struct bnx2i_conn *conn);
875-
extern void bnx2i_print_xmit_pdu_queue(struct bnx2i_conn *conn);
876-
extern void bnx2i_print_recv_state(struct bnx2i_conn *conn);
877-
878867
extern int bnx2i_percpu_io_thread(void *arg);
879868
extern int bnx2i_process_scsi_cmd_resp(struct iscsi_session *session,
880869
struct bnx2i_conn *bnx2i_conn,

0 commit comments

Comments
 (0)