projects
/
osmocom-bb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
osmocon: if we ignore a return value, we don't need to assign it to a variable
[osmocom-bb.git]
/
src
/
host
/
osmocon
/
osmocon.c
diff --git
a/src/host/osmocon/osmocon.c
b/src/host/osmocon/osmocon.c
index
2da711b
..
7f74f8f
100644
(file)
--- a/
src/host/osmocon/osmocon.c
+++ b/
src/host/osmocon/osmocon.c
@@
-778,9
+778,7
@@
static void hdlc_send_to_phone(uint8_t dlci, uint8_t *data, int len)
static void hdlc_console_cb(uint8_t dlci, struct msgb *msg)
{
- int rc;
-
- rc = write(1, msg->data, msg->len);
+ write(1, msg->data, msg->len);
msgb_free(msg);
}