pkg/parser/kernel: remove unused var block
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
f047280fee
commit
0b589d313d
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue