The conf struct was used before but no longer since some refactoring. Remove the need for this left-over. Signed-off-by: Stefan Schmidt <stefan@xxxxxxxxxxxxxxx> --- wpan-ping/wpan-ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wpan-ping/wpan-ping.c b/wpan-ping/wpan-ping.c index 665ed93..edba8dd 100644 --- a/wpan-ping/wpan-ping.c +++ b/wpan-ping/wpan-ping.c @@ -333,7 +333,7 @@ static int measure_roundtrip(struct config *conf, int sd) { return 0; } -static void init_server(struct config *conf, int sd) { +static void init_server(int sd) { ssize_t len; unsigned char *buf; struct sockaddr_ieee802154 src; @@ -383,7 +383,7 @@ static int init_network(struct config *conf) { } if (conf->server) - init_server(conf, sd); + init_server(sd); else measure_roundtrip(conf, sd); -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html