Change in pysim[master]: cards: remove unused function card_autodetect()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Fri Oct 8 09:33:16 UTC 2021


dexter has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/25686 )

Change subject: cards: remove unused function card_autodetect()
......................................................................

cards: remove unused function card_autodetect()

The function card_autodetect() is not used, lets remove it.

Change-Id: Ic188e1fffb4a40e89ad276941d20f94cf35e1538
---
M pySim/cards.py
1 file changed, 0 insertions(+), 8 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/pySim/cards.py b/pySim/cards.py
index 5e2e9fe..2f96ee1 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -1559,14 +1559,6 @@
 		   SysmoSIMgr1, SysmoSIMgr2, SysmoUSIMgr1, SysmoUSIMSJS1,
 		   FairwavesSIM, OpenCellsSim, WavemobileSim, SysmoISIMSJA2 ]
 
-def card_autodetect(scc):
-	for kls in _cards_classes:
-		card = kls.autodetect(scc)
-		if card is not None:
-			card.reset()
-			return card
-	return None
-
 def card_detect(ctype, scc):
 	# Detect type if needed
 	card = None

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/25686
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ic188e1fffb4a40e89ad276941d20f94cf35e1538
Gerrit-Change-Number: 25686
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211008/a3206cc5/attachment.htm>


More information about the gerrit-log mailing list