Index: plugins/snmp_bc/t/tel001.c
===================================================================
--- plugins/snmp_bc/t/tel001.c	(revision 6728)
+++ plugins/snmp_bc/t/tel001.c	(working copy)
@@ -29,7 +29,6 @@
 	SaErrorT expected_err;
 				
 	SaHpiResourceIdT  id = 0;
-        SaHpiSessionIdT sessionid;
 	SaHpiEventLogInfoT info;
 		
 	struct oh_handler_state l_handle;
@@ -49,10 +48,6 @@
 	err = snmp_bc_get_sel_info(&l_handle, id, NULL);
 	checkstatus(err, expected_err, testfail);
 
-	/***************************
-	 * Cleanup after all tests
-	 ***************************/
-	err = tcleanup(&sessionid);
 	return testfail;
 
 }
Index: plugins/snmp_bc/t/tel005.c
===================================================================
--- plugins/snmp_bc/t/tel005.c	(revision 6728)
+++ plugins/snmp_bc/t/tel005.c	(working copy)
@@ -29,7 +29,6 @@
 	SaErrorT expected_err;
 					
 	SaHpiResourceIdT  id = 0;
-        SaHpiSessionIdT sessionid;
 	SaHpiEventLogEntryIdT current = 0;
 	SaHpiEventLogEntryIdT previd;
 	SaHpiEventLogEntryIdT nextid;
@@ -79,10 +78,6 @@
 		       	          &previd, &nextid, &entry, &rdr, &rptentry);
 	checkstatus(err, expected_err, testfail);
 
-	/***************************
-	 * Cleanup after all tests
-	 ***************************/
-	err = tcleanup(&sessionid);
 	return testfail;
 
 }
Index: plugins/snmp_bc/t/tsensorget016.c
===================================================================
--- plugins/snmp_bc/t/tsensorget016.c	(revision 6728)
+++ plugins/snmp_bc/t/tsensorget016.c	(working copy)
@@ -29,7 +29,6 @@
 	SaErrorT expected_err;
 
 	SaHpiResourceIdT  id = 1;
-        SaHpiSessionIdT sessionid;
 
 	SaHpiSensorNumT sid = 1;
 	SaHpiEventStateT state;
@@ -70,11 +69,7 @@
 	err = snmp_bc_get_sensor_eventstate(NULL , id, sid, NULL, NULL);
 	checkstatus(err, expected_err, testfail);
 	
-	/***************************
-	 * Cleanup after all tests
-	 ***************************/
-	 err = tcleanup(&sessionid);
-	 return testfail;
+	return testfail;
 
 }
 
Index: plugins/snmp_bc/t/tsptime002.c
===================================================================
--- plugins/snmp_bc/t/tsptime002.c	(revision 6728)
+++ plugins/snmp_bc/t/tsptime002.c	(working copy)
@@ -28,7 +28,6 @@
 	SaErrorT          err;
 	SaErrorT expected_err;
 
-        SaHpiSessionIdT sessionid;
 	struct tm time;
 	struct snmp_bc_hnd custom_handle;
 
@@ -47,10 +46,6 @@
 	err = snmp_bc_set_sp_time(&custom_handle, NULL);
 	checkstatus(err, expected_err, testfail);
 
-	/**************************
-	 * Cleanup after all tests
-	 ***************************/
-	err = tcleanup(&sessionid);
 	return testfail;
 
 }
