From eb942b1b47235ffddc37c6e353fbafcfa3a60a15 Mon Sep 17 00:00:00 2001
From: Matthew Heon <matthew.heon@gmail.com>
Date: Mon, 4 Dec 2017 14:18:48 -0500
Subject: [PATCH] Fix lint

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
---
 libpod/container.go | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/libpod/container.go b/libpod/container.go
index 4f8c148d19..df8d63fdcb 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -819,11 +819,7 @@ func (c *Container) mountStorage() (err error) {
 		}
 	}()
 
-	if err := c.save(); err != nil {
-		return err
-	}
-
-	return nil
+	return c.save()
 }
 
 // CleanupStorage unmounts all mount points in container and cleans up container storage
@@ -859,9 +855,5 @@ func (c *Container) cleanupStorage() error {
 	c.state.Mountpoint = ""
 	c.state.Mounted = false
 
-	if err := c.save(); err != nil {
-		return err
-	}
-
-	return nil
+	return c.save()
 }