diff --git a/scapy.py b/scapy.py
index 5c1641fde798cd1650bdf7300b1395683ceba20f..5c71fa12c78f48cb86c0095e3e71a05ca38e15d7 100755
--- a/scapy.py
+++ b/scapy.py
@@ -11427,8 +11427,8 @@ class ATMT:
             return f
         return deco
     @staticmethod
-    def timeout(state, timeout, name=None):
-        def deco(f, state=state, timeout=timeout,name=name):
+    def timeout(state, timeout):
+        def deco(f, state=state, timeout=timeout):
             f.atmt_type = ATMT.TIMEOUT
             f.atmt_state = state.atmt_state
             f.atmt_timeout = timeout