tools: simplify boolean comparison, remove unused

This commit is contained in:
Gyu-Ho Lee 2016-12-09 13:15:04 -08:00
parent 0c5d1d5641
commit b8e09bf849
4 changed files with 1 additions and 6 deletions

View File

@ -49,9 +49,6 @@ var (
var (
iterateBucketName string
iterateBucketLimit uint64
revertCopyPath string
revertRevision int64
)
func init() {

View File

@ -44,7 +44,7 @@ func main() {
fmt.Println("got --use-root=true but not root user")
os.Exit(1)
}
if *useRoot == false {
if !*useRoot {
fmt.Println("root permissions disabled, agent will not modify network")
}

View File

@ -42,7 +42,6 @@ type keyStresser struct {
rateLimiter *rate.Limiter
mu sync.Mutex
wg sync.WaitGroup
cancel func()

View File

@ -41,7 +41,6 @@ type v2Stresser struct {
wg sync.WaitGroup
mu sync.Mutex
atomicModifiedKey int64
cancel func()