diff options
-rw-r--r-- | drivers/misc/sgi-xp/xpc_uv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/sgi-xp/xpc_uv.c b/drivers/misc/sgi-xp/xpc_uv.c index 241ea5f01aaa..d2f4e9121f93 100644 --- a/drivers/misc/sgi-xp/xpc_uv.c +++ b/drivers/misc/sgi-xp/xpc_uv.c | |||
@@ -1428,7 +1428,6 @@ xpc_handle_notify_mq_msg_uv(struct xpc_partition *part, | |||
1428 | msg_slot = ch_uv->recv_msg_slots + | 1428 | msg_slot = ch_uv->recv_msg_slots + |
1429 | (msg->hdr.msg_slot_number % ch->remote_nentries) * ch->entry_size; | 1429 | (msg->hdr.msg_slot_number % ch->remote_nentries) * ch->entry_size; |
1430 | 1430 | ||
1431 | BUG_ON(msg->hdr.msg_slot_number != msg_slot->hdr.msg_slot_number); | ||
1432 | BUG_ON(msg_slot->hdr.size != 0); | 1431 | BUG_ON(msg_slot->hdr.size != 0); |
1433 | 1432 | ||
1434 | memcpy(msg_slot, msg, msg->hdr.size); | 1433 | memcpy(msg_slot, msg, msg->hdr.size); |
@@ -1652,8 +1651,6 @@ xpc_received_payload_uv(struct xpc_channel *ch, void *payload) | |||
1652 | sizeof(struct xpc_notify_mq_msghdr_uv)); | 1651 | sizeof(struct xpc_notify_mq_msghdr_uv)); |
1653 | if (ret != xpSuccess) | 1652 | if (ret != xpSuccess) |
1654 | XPC_DEACTIVATE_PARTITION(&xpc_partitions[ch->partid], ret); | 1653 | XPC_DEACTIVATE_PARTITION(&xpc_partitions[ch->partid], ret); |
1655 | |||
1656 | msg->hdr.msg_slot_number += ch->remote_nentries; | ||
1657 | } | 1654 | } |
1658 | 1655 | ||
1659 | static struct xpc_arch_operations xpc_arch_ops_uv = { | 1656 | static struct xpc_arch_operations xpc_arch_ops_uv = { |