chore: remove unwanted code
diff --git a/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.py b/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.py
index accc8a9..950d5af 100644
--- a/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.py
+++ b/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.py
@@ -66,7 +66,6 @@
 		cur_node = root_node
 		period_list = deque([root_node])
 
-		periods = []
 		while period_list:
 			cur_node = period_list.popleft()
 			cur_node_index = len(self.btree) - 1
@@ -97,7 +96,6 @@
 		cur_node = root_node
 		period_list = [root_node]
 
-		periods = []
 		while period_list:
 			cur_node = period_list.pop()
 			cur_node_index = len(self.btree) - 1