Skip to contentSkip to conversation

tools/xenstored: Remove unused prototype

PATCH In review Julien Grall 3 participants 4 messages Apr 20, 2021 – Apr 25, 2021

lore
Share & tools
lore
#0 lore raw

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
index d54a6042a9f7..591b28e4552f 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

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
index d54a6042a9f7..591b28e4552f 100644
@@ -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