Skip to content

Commit e43e500

Browse files
committed
roce: remove superfluous opcode() function
1 parent 625a4ff commit e43e500

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scapy/contrib/roce.py

-5
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ def op(opcode):
8383
UD_SEND_ONLY_IMM = _transports['UD'] | _ops['SEND_ONLY_WITH_IMMEDIATE']
8484

8585

86-
def opcode(transport, op):
87-
# type: (str, str) -> Tuple[int, str]
88-
return (_transports[transport] + _ops[op], '{}_{}'.format(transport, op))
89-
90-
9186
class _ETH(enum.Flag):
9287
'''Enum of RDMA extended transport headers'''
9388

0 commit comments

Comments
 (0)