BugID:17023365:fix white scan issue
@@ -997,10 +997,6 @@ static int _dm_shw_array_enum_set(_IN_ dm_shw_data_value_t *data_value, _IN_ voi
dm_shw_data_value_complex_t *complex_array = data_value->value;
int int_set = (value == NULL) ? (0) : (*(int *)value);
- if (((int *)(complex_array->value) + index) == NULL) {
- return DM_INVALID_PARAMETER;
- }
-
*((int *)(complex_array->value) + index) = int_set;
dm_log_debug("Current Array Value Be Set(Enum), Index: %d, Value: %d", index, *((int *)(complex_array->value) + index));
