Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5c4680f

Browse files
committedOct 11, 2021
fix CI and make go-staticcheck happy
1 parent 621bb90 commit 5c4680f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎serial.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"time"
1111

1212
"github.com/arduino/arduino-create-agent/upload"
13-
log "github.com/sirupsen/logrus"
1413
)
1514

1615
type writeRequest struct {
@@ -195,7 +194,7 @@ func spListDual(network bool) {
195194
// to append the open/close state, baud rates, etc to make
196195
// a super clean nice list to send back to browser
197196
n := len(list)
198-
spl := make([]SpPortItem, n, n)
197+
spl := make([]SpPortItem, n)
199198

200199
ctr := 0
201200

0 commit comments

Comments
 (0)
Please sign in to comment.