Skip to content

Commit 45fad02

Browse files
tititiou36martinkpetersen
authored andcommitted
scsi: libcxgbi: Remove an unused field in struct cxgbi_device
Usage of .dev_ddp_cleanup() in libcxgbi was removed by commit 5999299 ("cxgb3i,cxgb4i,libcxgbi: remove iSCSI DDP support") on 2016-07. .csk_rx_pdu_ready() and debugfs_root have apparently never been used since introduction by commit 9ba682f ("[SCSI] libcxgbi: common library for cxgb3i and cxgb4i") Remove the now unused function pointer from struct cxgbi_device. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/58f77f690d85e2c653447e3e3fc4f8d3c3ce8563.1725223504.git.christophe.jaillet@wanadoo.fr Signed-off-by: Martin K. Petersen <[email protected]>
1 parent e368400 commit 45fad02

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/scsi/cxgbi/libcxgbi.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ struct cxgbi_device {
485485
unsigned char nmtus;
486486
unsigned char nports;
487487
struct pci_dev *pdev;
488-
struct dentry *debugfs_root;
489488
struct iscsi_transport *itp;
490489
struct module *owner;
491490

@@ -499,7 +498,6 @@ struct cxgbi_device {
499498
unsigned int rxq_idx_cntr;
500499
struct cxgbi_ports_map pmap;
501500

502-
void (*dev_ddp_cleanup)(struct cxgbi_device *);
503501
struct cxgbi_ppm* (*cdev2ppm)(struct cxgbi_device *);
504502
int (*csk_ddp_set_map)(struct cxgbi_ppm *, struct cxgbi_sock *,
505503
struct cxgbi_task_tag_info *);
@@ -512,7 +510,6 @@ struct cxgbi_device {
512510
unsigned int, int);
513511

514512
void (*csk_release_offload_resources)(struct cxgbi_sock *);
515-
int (*csk_rx_pdu_ready)(struct cxgbi_sock *, struct sk_buff *);
516513
u32 (*csk_send_rx_credits)(struct cxgbi_sock *, u32);
517514
int (*csk_push_tx_frames)(struct cxgbi_sock *, int);
518515
void (*csk_send_abort_req)(struct cxgbi_sock *);

0 commit comments

Comments
 (0)