Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254479
b: refs/heads/master
c: b9988b8
h: refs/heads/master
i:
  254477: 89104d0
  254475: 7c7d025
  254471: 81a3764
  254463: 5f432e8
v: v3
  • Loading branch information
Edmund Nadolski authored and Dan Williams committed Jul 3, 2011
1 parent 307b9fe commit b7fc053
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed30c275dd9fc5c603081144db5df3110f258534
refs/heads/master: b9988b8e7fcd80404c60462dc223df8c1f31550d
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/isci/core/scic_sds_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -1232,8 +1232,7 @@ static enum sci_status scic_sds_port_ready_operational_substate_start_io_handler
struct scic_sds_remote_device *device,
struct scic_sds_request *io_request)
{
scic_sds_port_increment_request_count(port);

port->started_request_count++;
return SCI_SUCCESS;
}

Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/scsi/isci/core/scic_sds_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,6 @@ struct scic_sds_port_state_handler {
((this_port)->physical_port_index)


static inline void scic_sds_port_increment_request_count(struct scic_sds_port *sci_port)
{
sci_port->started_request_count++;
}

static inline void scic_sds_port_decrement_request_count(struct scic_sds_port *sci_port)
{
if (WARN_ONCE(sci_port->started_request_count == 0,
Expand Down

0 comments on commit b7fc053

Please sign in to comment.