qtest: drop unused child_pid field
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
		
							parent
							
								
									46eef33b89
								
							
						
					
					
						commit
						98f9e35bef
					
				@ -43,7 +43,6 @@ struct QTestState
 | 
				
			|||||||
    int qmp_fd;
 | 
					    int qmp_fd;
 | 
				
			||||||
    bool irq_level[MAX_IRQ];
 | 
					    bool irq_level[MAX_IRQ];
 | 
				
			||||||
    GString *rx;
 | 
					    GString *rx;
 | 
				
			||||||
    int child_pid;   /* Child process created to execute QEMU */
 | 
					 | 
				
			||||||
    pid_t qemu_pid;  /* QEMU process spawned by our child */
 | 
					    pid_t qemu_pid;  /* QEMU process spawned by our child */
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -152,7 +151,6 @@ QTestState *qtest_init(const char *extra_args)
 | 
				
			|||||||
    g_free(qmp_socket_path);
 | 
					    g_free(qmp_socket_path);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    s->rx = g_string_new("");
 | 
					    s->rx = g_string_new("");
 | 
				
			||||||
    s->child_pid = pid;
 | 
					 | 
				
			||||||
    for (i = 0; i < MAX_IRQ; i++) {
 | 
					    for (i = 0; i < MAX_IRQ; i++) {
 | 
				
			||||||
        s->irq_level[i] = false;
 | 
					        s->irq_level[i] = false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user