From 0b589d313d64571cbc3a3f9b8b3d365172d838fd Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Thu, 2 Jun 2016 10:50:36 -0700 Subject: [PATCH] pkg/parser/kernel: remove unused var block Signed-off-by: Alexander Morozov --- parsers/kernel/kernel_unix.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/parsers/kernel/kernel_unix.go b/parsers/kernel/kernel_unix.go index 71c16b6..54a89d2 100644 --- a/parsers/kernel/kernel_unix.go +++ b/parsers/kernel/kernel_unix.go @@ -10,10 +10,6 @@ import ( // GetKernelVersion gets the current kernel version. func GetKernelVersion() (*VersionInfo, error) { - var ( - err error - ) - uts, err := uname() if err != nil { return nil, err