chore: Remove qb doc reference
diff --git a/erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py b/erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py
index a57acda..0e3f7d7 100644
--- a/erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py
+++ b/erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py
@@ -33,6 +33,4 @@
 	else:
 		fields_to_fetch.append("supplier")
 
-	bg_doctype = frappe.qb.DocType("Bank Guarantee")
-
 	return frappe.db.get_value(doctype, reference_name, fields_to_fetch, as_dict=True)