From 248ad03233cf82ec6a453343a9f9b9b13233724d Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 20 Jan 2012 22:26:47 +0100 Subject: [PATCH] cli: configuring SRD probes no longer deletes them from the hash --- sigrok-cli.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sigrok-cli.c b/sigrok-cli.c index 90e92f5..fa29c6c 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -504,11 +504,6 @@ static int register_pds(struct sr_device *device, const char *pdstring) if (srd_instance_set_probes(di, pd) != SRD_OK) return 1; - if (g_hash_table_size(pd) > 0) { - fprintf(stderr, "Unknown options or probes specified."); - return 1; - } - err_out: g_strfreev(pdtokens); if (pd) -- 2.30.2