diff --git a/host_linux.go b/host_linux.go
index cf83d74..71d68f2 100644
--- a/host_linux.go
+++ b/host_linux.go
@@ -151,10 +151,7 @@ func getLSB() (*LSB, error) {
 	return ret, nil
 }
 
-func GetPlatformInformation() (string, string, string, error) {
-	platform := ""
-	family := ""
-	version := ""
+func GetPlatformInformation() (platform string, family string, version string, err error) {
 
 	lsb, err := getLSB()
 	if err != nil {
@@ -262,9 +259,8 @@ func getRedhatishVersion(contents []string) string {
 	}
 	if matches := regexp.MustCompile(`release (\d[\d.]*)`).FindStringSubmatch(c); matches != nil {
 		return matches[1]
-	} else {
-		return ""
 	}
+	return ""
 }
 
 func getRedhatishPlatform(contents []string) string {