Skip to content

Commit 238fb80

Browse files
committed
remove unnecessary slot_id assignment.
Signed-off-by: Jiewen Yao <[email protected]>
1 parent 5149b56 commit 238fb80

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/spdm_common_lib/libspdm_com_context_data.c

-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ libspdm_return_t libspdm_set_data(void *spdm_context, libspdm_data_type_t data_t
485485
if (parameter->location != LIBSPDM_DATA_LOCATION_LOCAL) {
486486
return LIBSPDM_STATUS_INVALID_PARAMETER;
487487
}
488-
slot_id = parameter->additional_data[0];
489488
if (data_size != sizeof(uint8_t)) {
490489
return LIBSPDM_STATUS_INVALID_PARAMETER;
491490
}

0 commit comments

Comments
 (0)