Skip to content

Commit 6d8b529

Browse files
committed
Removed unused functions
1 parent a30e1aa commit 6d8b529

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cli/output/rpc_progress.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ func NewDownloadProgressBarCB() func(*rpc.DownloadProgress) {
9393
}
9494
}
9595

96-
// NewNullDownloadProgressCB returns a progress bar callback that outputs nothing.
97-
func NewNullDownloadProgressCB() func(*rpc.DownloadProgress) {
98-
return func(*rpc.DownloadProgress) {}
99-
}
100-
10196
// NewTaskProgressCB returns a commands.TaskProgressCB progress listener
10297
// that outputs to terminal
10398
func NewTaskProgressCB() func(curr *rpc.TaskProgress) {
@@ -121,8 +116,3 @@ func NewTaskProgressCB() func(curr *rpc.TaskProgress) {
121116
}
122117
}
123118
}
124-
125-
// NewNullTaskProgressCB returns a progress bar callback that outputs nothing.
126-
func NewNullTaskProgressCB() func(curr *rpc.TaskProgress) {
127-
return func(curr *rpc.TaskProgress) {}
128-
}

0 commit comments

Comments
 (0)