Skip to content

Commit d705e19

Browse files
author
Kelvin Cao
committed
Merge branch 'mrpc_delayed_check'
2 parents a1ff250 + f70544c commit d705e19

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

switchtec.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ static void mrpc_cmd_submit(struct switchtec_dev *stdev)
142142
stuser->data, stuser->data_len);
143143
iowrite32(stuser->cmd, &stdev->mmio_mrpc->cmd);
144144

145-
stuser->status = ioread32(&stdev->mmio_mrpc->status);
146-
if (stuser->status != SWITCHTEC_MRPC_STATUS_INPROGRESS)
147-
mrpc_complete_cmd(stdev);
148-
149145
schedule_delayed_work(&stdev->mrpc_timeout,
150146
msecs_to_jiffies(500));
151147
}

0 commit comments

Comments
 (0)