Golint fix up

This fix fixes a golint issue.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2018-02-23 16:40:37 +00:00
parent 219582bba6
commit 742d4506bd
1 changed files with 1 additions and 5 deletions

View File

@ -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) {