about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ioutil.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ioutil.c b/ioutil.c
index b31dbb6..88050a5 100644
--- a/ioutil.c
+++ b/ioutil.c
@@ -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));
 }