projects
/
sigrok-util.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91d4c75
)
sr_hw_info() shouldn't log invalid requests.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 20 Jan 2013 17:59:57 +0000
(18:59 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
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
patch
|
blob
|
history
diff --git
a/source/drv-api.c
b/source/drv-api.c
index fee866e9840ecf6e91eb91f55dbcd41f2d84a01d..64f5ee18601abe1d922a00a4a6319b0d9beed092 100644
(file)
--- 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;
}