From 36d1c4540af3ef058d68092e41af05aa4a8c5eca Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 8 Mar 2018 18:48:26 +0100 Subject: all: fix gometalinter warnings Fix typos, non-canonical code, remove dead code, etc. --- tools/syz-crush/crush.go | 1 - tools/syz-execprog/execprog.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/syz-crush/crush.go b/tools/syz-crush/crush.go index 8811d4f4a..d65e1bc5b 100644 --- a/tools/syz-crush/crush.go +++ b/tools/syz-crush/crush.go @@ -124,5 +124,4 @@ func runInstance(cfg *mgrconfig.Config, reporter report.Reporter, vmPool *vm.Poo log.Logf(0, "vm-%v: crashed: %v, saving to %v", index, rep.Title, f.Name()) f.Write(rep.Output) } - return } diff --git a/tools/syz-execprog/execprog.go b/tools/syz-execprog/execprog.go index 828dffa51..9373bc8b6 100644 --- a/tools/syz-execprog/execprog.go +++ b/tools/syz-execprog/execprog.go @@ -2,7 +2,7 @@ // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. // execprog executes a single program or a set of programs -// and optinally prints information about execution. +// and optionally prints information about execution. package main import ( -- cgit mrf-deployment