device/bluetooth: explicitly ignore return value of ioctl() in nm_bluez5_dun_cleanup()

Coverity doesn't like us not checking the result.

(cherry picked from commit 526601e4f3)
This commit is contained in:
Thomas Haller
2019-08-02 17:16:00 +02:00
parent 3ebeb43c5f
commit 3ebad253e8

View File

@@ -386,7 +386,7 @@ nm_bluez5_dun_cleanup (NMBluez5DunContext *context)
struct rfcomm_dev_req req = { 0 };
req.dev_id = context->rfcomm_id;
ioctl (context->rfcomm_fd, RFCOMMRELEASEDEV, &req);
(void) ioctl (context->rfcomm_fd, RFCOMMRELEASEDEV, &req);
context->rfcomm_id = -1;
}
nm_close (context->rfcomm_fd);