diff --git a/qla2x00t/qla2x_tgt.h b/qla2x00t/qla2x_tgt.h index 8c0a2e8b0..e149bcb50 100644 --- a/qla2x00t/qla2x_tgt.h +++ b/qla2x00t/qla2x_tgt.h @@ -87,8 +87,7 @@ __qla2x00_send_enable_lun(scsi_qla_host_t *ha, int enable) pkt->command_count = QLA2X00_COMMAND_COUNT_INIT; pkt->immed_notify_count = QLA2X00_IMMED_NOTIFY_COUNT_INIT; pkt->timeout = 0xffff; - } - else { + } else { pkt->command_count = 0; pkt->immed_notify_count = 0; pkt->timeout = 0; diff --git a/qla2x00t/qla2x_tgt_def.h b/qla2x00t/qla2x_tgt_def.h index c4b73a5a6..4ef7b92cb 100644 --- a/qla2x00t/qla2x_tgt_def.h +++ b/qla2x00t/qla2x_tgt_def.h @@ -575,8 +575,7 @@ typedef struct /* * ISP queue - notify acknowledge entry structure definition for 24xx. */ -typedef struct -{ +typedef struct { uint8_t entry_type; /* Entry type. */ uint8_t entry_count; /* Entry count. */ uint8_t sys_define; /* System defined. */ @@ -608,8 +607,7 @@ typedef struct #define ABTS_RECV_24XX 0x54 /* ABTS received (for 24xx) */ #define ABTS_RESP_24XX 0x55 /* ABTS responce (for 24xx) */ -typedef struct -{ +typedef struct { uint8_t entry_type; /* Entry type. */ uint8_t entry_count; /* Entry count. */ uint8_t sys_define; /* System defined. */ @@ -627,8 +625,7 @@ typedef struct #define ABTS_PARAM_ABORT_SEQ BIT_0 -typedef struct -{ +typedef struct { uint16_t reserved; uint8_t seq_id_last; uint8_t seq_id_valid; @@ -640,8 +637,7 @@ typedef struct uint16_t low_seq_cnt; } __attribute__((packed)) ba_acc_le_t; -typedef struct -{ +typedef struct { uint8_t vendor_uniq; uint8_t reason_expl; uint8_t reason_code; @@ -650,8 +646,7 @@ typedef struct uint8_t reserved; } __attribute__((packed)) ba_rjt_le_t; -typedef struct -{ +typedef struct { uint8_t entry_type; /* Entry type. */ uint8_t entry_count; /* Entry count. */ uint8_t sys_define; /* System defined. */ @@ -674,8 +669,7 @@ typedef struct uint32_t exchange_addr_to_abort; } __attribute__((packed)) abts24_resp_entry_t; -typedef struct -{ +typedef struct { uint8_t entry_type; /* Entry type. */ uint8_t entry_count; /* Entry count. */ uint8_t sys_define; /* System defined. */