tools/xenstored: Remove unused prototype
PATCH 1/1 tools/xenstored: Remove unused prototype
From: Julien Grall <[email protected]>
A prototype for dump_conn() has been present for quite a long time but there are no implementation. Even, AFAICT in the patch that introduced it. So drop it.
--- tools/xenstore/xenstored_core.c | 1 - 1 file changed, 1 deletion(-)
tools/xenstore/xenstored_core.c +0 -1
@@ -2085,7 +2085,6 @@ static struct option options[] = {#endif { NULL, 0, NULL, 0 } }; -extern void dump_conn (struct connection *conn);int dom0_domid =0 ;int dom0_event =0 ;int priv_domid =0 ;
Signature · 1 line
2.17.1
Hi Julien,
On 20 Apr 2021, at 14:49, Julien Grall <[email protected]<mailto:[email protected]>> wrote:
From: Julien Grall <[email protected]<mailto:[email protected]>>
A prototype for dump_conn() has been present for quite a long time but there are no implementation. Even, AFAICT in the patch that introduced it. So drop it.
Agree, no implementation of this exists so:
Cheers
Bertrand
---tools/xenstore/xenstored_core.c | 1 -
1 file changed, 1 deletion(-)
tools/xenstore/xenstored_core.c +0 -0
@@ -2085,7 +2085,6 @@ static struct option options[] = {
#endif
{ NULL, 0, NULL, 0 } };
-extern void dump_conn(struct connection *conn);
int dom0_domid = 0;
int dom0_event = 0;
int priv_domid = 0;
--
2.17.1
Quoted 7 lines · Julien Grall
From: Julien Grall <[email protected]>
A prototype for
dump_conn()has been present for quite a long time but there are no implementation. Even, AFAICT in the patch that introduced it. So drop it.Signed-off-by Julien Grall <[email protected]>
Juergen
Hi Juergen,
Quoted 10 lines · Juergen Gross
Quoted 7 lines · Julien Grall
From: Julien Grall <[email protected]>
A prototype for
dump_conn()has been present for quite a long time but there are no implementation. Even, AFAICT in the patch that introduced it. So drop it.Signed-off-by Julien Grall <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Thanks! I have committed it.
Cheers,
Signature · 1 line
Julien Grall