]> sigrok.org Git - sigrok-util.git/commitdiff
sr_hw_info() shouldn't log invalid requests.
authorUwe Hermann <redacted>
Sun, 20 Jan 2013 17:59:57 +0000 (18:59 +0100)
committerUwe Hermann <redacted>
Sun, 20 Jan 2013 17:59:57 +0000 (18:59 +0100)
That's a valid use-case (for now) and not an actual error.

source/drv-api.c

index fee866e9840ecf6e91eb91f55dbcd41f2d84a01d..64f5ee18601abe1d922a00a4a6319b0d9beed092 100644 (file)
@@ -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;
        }