diff --git a/salt/modules/network.py b/salt/modules/network.py
index <HASH>..<HASH> 100644
--- a/salt/modules/network.py
+++ b/salt/modules/network.py
@@ -1832,7 +1832,6 @@ def default_route(family=None):
     ret = []
     for route in _routes:
         if family:
-            def_route_family = default_route[family]
             if route["destination"] in default_route[family]:
                 if __grains__["kernel"] == "SunOS" and route["addr_family"] != family:
                     continue
Remove unused debug variable as per review comments