diff options
-rw-r--r-- | ioutil.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -138,9 +138,7 @@ void mog_iou_write(dev_t st_dev, char buf[MOG_IOUTIL_LEN]) /* marks the given device as in-use */ void mog_iou_active(dev_t st_dev) { - struct ioutil *iou; - CHECK(int, 0, pthread_mutex_lock(&iou_lock)); - iou = iou_vivify(st_dev); + (void)iou_vivify(st_dev); CHECK(int, 0, pthread_mutex_unlock(&iou_lock)); } |