Skip to content

Commit

Permalink
staging: vchiq_core: don't add a wmb() before remote_event_signal()
Browse files Browse the repository at this point in the history
It's the first thing remote_event_signal() does.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Nicolas Saenz Julienne authored and Greg Kroah-Hartman committed Nov 27, 2018
1 parent 02d84a9 commit 51c0712
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1137,9 +1137,6 @@ queue_message_sync(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service,
size);
}

/* Make sure the new header is visible to the peer. */
wmb();

remote_event_signal(&state->remote->sync_trigger);

if (VCHIQ_MSG_TYPE(msgid) != VCHIQ_MSG_PAUSE)
Expand Down Expand Up @@ -3269,7 +3266,6 @@ static void
release_message_sync(VCHIQ_STATE_T *state, VCHIQ_HEADER_T *header)
{
header->msgid = VCHIQ_MSGID_PADDING;
wmb();
remote_event_signal(&state->remote->sync_release);
}

Expand Down

0 comments on commit 51c0712

Please sign in to comment.