commit ec0e71d99f8cf1b00224e07131dc2cbdcbbaa60c
parent 58f68fc6fd687b6efa2d857d20927b832dbc8adc
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Sun, 21 Jan 2024 11:48:21 +0900
delete unused member of client.Client
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/client/client.go b/client/client.go
@@ -21,15 +21,12 @@ type Client struct {
 	// Uname is used to communicate with a server.
 	uname string
 
-	// FPool is the fidPool which hold the list of opend fids.
+	// FPool is the fidPool which hold the list of open fids.
 	fPool *fidPool
 
 	// Txc is used to send a reqest to the multiplexer goroutine
 	txc chan<- *req
 
-	// Cancel is the CancelFunc to stop the goroutines evoked by this client.
-	cancel context.CancelFunc
-
 	// RootFid is the fid of the root of the file system.
 	rootFid *fid