pkg/parser/kernel: remove unused var block

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2016-06-02 10:50:36 -07:00
parent f047280fee
commit 0b589d313d

View file

@ -10,10 +10,6 @@ import (
// GetKernelVersion gets the current kernel version. // GetKernelVersion gets the current kernel version.
func GetKernelVersion() (*VersionInfo, error) { func GetKernelVersion() (*VersionInfo, error) {
var (
err error
)
uts, err := uname() uts, err := uname()
if err != nil { if err != nil {
return nil, err return nil, err