Skip to content

Commit 849c6b5

Browse files
author
Kelvin Cao
committed
Merge branch 'release_4.13_to_4.14' into release_4.4_to_4.7
2 parents bf92165 + e2f9baa commit 849c6b5

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
@@ -144,10 +144,6 @@ static void mrpc_cmd_submit(struct switchtec_dev *stdev)
144144
stuser->data, stuser->data_len);
145145
iowrite32(stuser->cmd, &stdev->mmio_mrpc->cmd);
146146

147-
stuser->status = ioread32(&stdev->mmio_mrpc->status);
148-
if (stuser->status != SWITCHTEC_MRPC_STATUS_INPROGRESS)
149-
mrpc_complete_cmd(stdev);
150-
151147
schedule_delayed_work(&stdev->mrpc_timeout,
152148
msecs_to_jiffies(500));
153149
}

0 commit comments

Comments
 (0)