]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: remove unused variables
authorPatrick Donnelly <pdonnell@ibm.com>
Fri, 20 Mar 2026 21:46:29 +0000 (17:46 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Fri, 8 May 2026 23:46:21 +0000 (19:46 -0400)
To make tox-qa happy.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit d8cc2ea40c428ef1734b27f3006840797539031c)

qa/tasks/cephfs/mount.py

index 3c336ee216566c71457c05dbcd913bbc63a308de..9c725da2ccc50ccb34f08c9becf85c01841bc035 100644 (file)
@@ -455,11 +455,6 @@ class CephFSMountBase(object):
             sudo ip link delete ceph-brx
         """, timeout=(5*60), omit_sudo=False, cwd='/')
 
-        # Drop the nftables NAT rules
-        net = ipaddress.ip_network(self.ceph_brx_net)
-        ip = net.broadcast_address - 1
-        mask = self.ceph_brx_net.split('/')[1]
-
         gw = self._default_gateway()
 
         self.run_shell_payload(f"""