Skip to content

Commit d5a4b0d

Browse files
tititiou36martinkpetersen
authored andcommitted
scsi: bnx2fc: Remove some unused fields in struct bnx2fc_rport
Some fields are unused in struct bnx2fc_rport. Remove them in order to save 96 bytes on a x86_64. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/42e20b159f3bbb12da7796463a521ca051bd5274.1724399924.git.christophe.jaillet@wanadoo.fr Signed-off-by: Martin K. Petersen <[email protected]>
1 parent e59f43f commit d5a4b0d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/scsi/bnx2fc/bnx2fc.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -358,18 +358,12 @@ struct bnx2fc_rport {
358358
dma_addr_t lcq_dma;
359359
u32 lcq_mem_size;
360360

361-
void *ofld_req[4];
362-
dma_addr_t ofld_req_dma[4];
363-
void *enbl_req;
364-
dma_addr_t enbl_req_dma;
365-
366361
spinlock_t tgt_lock;
367362
spinlock_t cq_lock;
368363
atomic_t num_active_ios;
369364
u32 flush_in_prog;
370365
unsigned long timestamp;
371366
unsigned long retry_delay_timestamp;
372-
struct list_head free_task_list;
373367
struct bnx2fc_cmd *pending_queue[BNX2FC_SQ_WQES_MAX+1];
374368
struct list_head active_cmd_queue;
375369
struct list_head els_queue;

0 commit comments

Comments
 (0)