From: Uwe Hermann Date: Sun, 20 Jan 2013 17:59:57 +0000 (+0100) Subject: sr_hw_info() shouldn't log invalid requests. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=ad1407b5c526254d604c2d22d48cf6190a47a7b0 sr_hw_info() shouldn't log invalid requests. That's a valid use-case (for now) and not an actual error. --- diff --git a/source/drv-api.c b/source/drv-api.c index fee866e..64f5ee1 100644 --- a/source/drv-api.c +++ b/source/drv-api.c @@ -124,7 +124,6 @@ static int hw_info_get(int info_id, const void **data, switch (info_id) { /* TODO */ default: - sr_err("Unknown info_id: %d.", info_id); return SR_ERR_ARG; }