From bdd53081698c70aa37b0997b78a5893af4ffdb95 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Fri, 8 Nov 2019 17:06:20 +0000 Subject: [PATCH] Code style clean up --- internal/multiplex/qos.go | 1 - internal/multiplex/switchboard.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/multiplex/qos.go b/internal/multiplex/qos.go index 935a8c9..103964e 100644 --- a/internal/multiplex/qos.go +++ b/internal/multiplex/qos.go @@ -7,7 +7,6 @@ import ( ) // Valve needs to be universal, across all sessions that belong to a user -// gabe please don't sue type LimitedValve struct { // traffic directions from the server's perspective are refered // exclusively as rx and tx. diff --git a/internal/multiplex/switchboard.go b/internal/multiplex/switchboard.go index b5d0f35..eeddfaf 100644 --- a/internal/multiplex/switchboard.go +++ b/internal/multiplex/switchboard.go @@ -41,7 +41,6 @@ func makeSwitchboard(sesh *Session, config *switchboardConfig) *switchboard { return sb } -var errNilOptimum = errors.New("The optimal connection is nil") var errBrokenSwitchboard = errors.New("the switchboard is broken") func (sb *switchboard) connsCount() int {