diff --git a/src/sview/popups.c b/src/sview/popups.c
index 3ff254506dcd9d4d8da0e5b11085e320ebde39d7..2fb62a585830cd1bf861d08da2527b5627918bd6 100644
--- a/src/sview/popups.c
+++ b/src/sview/popups.c
@@ -514,7 +514,6 @@ extern void create_create_popup(GtkAction *action, gpointer user_data)
 
 	if (!strcmp(name, "batch_job")) {
 		sview_search_info.search_type = CREATE_BATCH_JOB;
-		entry = create_entry();
 		label = gtk_label_new(
 			"Batch job submission specifications\n\n"
 			"Specify size (task and/or node count) plus the\n"
@@ -530,7 +529,6 @@ extern void create_create_popup(GtkAction *action, gpointer user_data)
 		entry = create_job_entry(job_msg, model, &iter);
 	} else if (!strcmp(name, "partition")) {
 		sview_search_info.search_type = CREATE_PARTITION;
-		entry = create_entry();
 		label = gtk_label_new(
 			"Partition creation specifications\n\n"
 			"Specify Name. All other fields are optional.");