lib/idxd: remove casts that are no longer needed

Left over from when the field was a void *

Signed-off-by: paul Luse <paul.e.luse@intel.com>
Change-Id: If9dfe2878f6afd6137d6d8efec90e310baf417f1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8280
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
paul Luse 2021-06-10 15:01:34 +00:00 committed by Jim Harris
parent a738acd505
commit 91cab3414c

View File

@ -1079,8 +1079,8 @@ spdk_idxd_process_events(struct spdk_idxd_io_channel *chan)
break; break;
case IDXD_OPCODE_CRC32C_GEN: case IDXD_OPCODE_CRC32C_GEN:
case IDXD_OPCODE_COPY_CRC: case IDXD_OPCODE_COPY_CRC:
*(uint32_t *)comp_ctx->crc_dst = comp_ctx->hw.crc32c_val; *comp_ctx->crc_dst = comp_ctx->hw.crc32c_val;
*(uint32_t *)comp_ctx->crc_dst ^= ~0; *comp_ctx->crc_dst ^= ~0;
break; break;
case IDXD_OPCODE_COMPARE: case IDXD_OPCODE_COMPARE:
if (status == 0) { if (status == 0) {