Golint fix up

This fix fixes a golint issue.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 742d4506bd5aa6f686070d0d5e984a8b9ee2cda6
Component: engine
This commit is contained in:
Yong Tang
2018-02-23 16:40:37 +00:00
parent ab9415b4ec
commit 50ae06e05c
@@ -158,11 +158,7 @@ func (d *Driver) GetMetadata(id string) (map[string]string, error) {
// Cleanup unmounts the home directory.
func (d *Driver) Cleanup() error {
if err := d.subvolDisableQuota(); err != nil {
return err
}
return nil
return d.subvolDisableQuota()
}
func free(p *C.char) {