drivers: modem: fix coverity issue
Added (void) cast to supress coverity report. The usage of K_FOREVER tells me we're not interested in the returned value. Coverity-CID: 219653 Fixes #33034 Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
This commit is contained in:
parent
c4b0064913
commit
6145ab537f
1 changed files with 1 additions and 1 deletions
|
@ -3347,7 +3347,7 @@ static void hl7800_rx(void)
|
|||
|
||||
while (true) {
|
||||
/* wait for incoming data */
|
||||
k_sem_take(&ictx.mdm_ctx.rx_sem, K_FOREVER);
|
||||
(void) k_sem_take(&ictx.mdm_ctx.rx_sem, K_FOREVER);
|
||||
|
||||
hl7800_read_rx(&rx_buf);
|
||||
/* If an external module hasn't locked the command processor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue