Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Jan 24, 2024
1 parent 1989454 commit a5bc578
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/s2p/s2p_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,8 @@ void S2p::CreateDevices()
device->set_unit(lun);
}

const string &k = key_components[2];
assert(device);
SetDeviceProperties(*device, k, value);
SetDeviceProperties(*device, key_components[2], value);
}

if (command.devices_size()) {
Expand Down

0 comments on commit a5bc578

Please sign in to comment.