From f2a892c5159bdf5fc86fb867008ee4e8460fc9f8 Mon Sep 17 00:00:00 2001 From: Anshal Shukla Date: Mon, 6 May 2024 16:10:32 +0530 Subject: [PATCH] fix: lint --- cmd/geth/main.go | 2 -- internal/cli/server/server.go | 1 - 2 files changed, 3 deletions(-) diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 72ed3f5ca9..dc9fe67742 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -288,8 +288,6 @@ func main() { // prepare manipulates memory cache allowance and setups metric system. // This function should be called before launching devp2p stack. func prepare(ctx *cli.Context) { - const light = "light" - // If we're running a known preset, log it for convenience. switch { case ctx.IsSet(utils.GoerliFlag.Name): diff --git a/internal/cli/server/server.go b/internal/cli/server/server.go index 239130f0c1..34015e23a5 100644 --- a/internal/cli/server/server.go +++ b/internal/cli/server/server.go @@ -464,7 +464,6 @@ func (s *Server) loggingServerInterceptor(ctx context.Context, req interface{}, } func setupLogger(logLevel int, loggingInfo LoggingConfig) { - output := io.Writer(os.Stderr) if loggingInfo.Json {