Skip to content

Commit

Permalink
cxgb4i : Move stray CPL definitions to cxgb4 driver
Browse files Browse the repository at this point in the history
These belong to the t4 msg header, will ensure there is no accidental code
duplication in the future

Signed-off-by: Anish Bhatt <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
anish authored and davem330 committed Aug 5, 2014
1 parent 5ae344c commit a2b81b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ enum {
CPL_RX_DATA_DDP = 0x42,
CPL_PASS_ACCEPT_REQ = 0x44,
CPL_TRACE_PKT_T5 = 0x48,
CPL_RX_ISCSI_DDP = 0x49,

CPL_RDMA_READ_REQ = 0x60,

Expand All @@ -86,6 +87,7 @@ enum {
CPL_SGE_EGR_UPDATE = 0xA5,

CPL_TRACE_PKT = 0xB0,
CPL_ISCSI_DATA = 0xB2,

CPL_FW4_MSG = 0xC0,
CPL_FW4_PLD = 0xC1,
Expand Down
2 changes: 0 additions & 2 deletions drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Original file line number Diff line number Diff line change
Expand Up @@ -1384,8 +1384,6 @@ static int init_act_open(struct cxgbi_sock *csk)
return -EINVAL;
}

#define CPL_ISCSI_DATA 0xB2
#define CPL_RX_ISCSI_DDP 0x49
cxgb4i_cplhandler_func cxgb4i_cplhandlers[NUM_CPL_CMDS] = {
[CPL_ACT_ESTABLISH] = do_act_establish,
[CPL_ACT_OPEN_RPL] = do_act_open_rpl,
Expand Down

0 comments on commit a2b81b3

Please sign in to comment.