Remove the duplicate code

Change-Id: I1b0695f843f2dc41e12d74ee74ced67e4a95f609
This commit is contained in:
inspur-storage 2024-04-28 09:08:01 +08:00
parent 79629c346e
commit ad60b0b3d5

View File

@ -154,9 +154,6 @@ class NVMeOF(driver.Target):
if transport == 'rdma': if transport == 'rdma':
transport = 'RoCEv2' transport = 'RoCEv2'
if transport == 'rdma':
transport = 'RoCEv2'
return { return {
'target_nqn': nqn, 'target_nqn': nqn,
'vol_uuid': uuid, 'vol_uuid': uuid,