Removes unnecessary returned func from WaitReady
[govpp.git] / adapter / adapter.go
index d8f29c9..a5b3352 100644 (file)
@@ -31,6 +31,6 @@ type VppAdapter interface {
        // SetMsgCallback sets a callback function that will be called by the adapter whenever a message comes from VPP.
        SetMsgCallback(func(context uint32, msgId uint16, data []byte))
 
-       // WaitReady returns func which waits until adapter is ready.
-       WaitReady() func() error
+       // WaitReady waits until adapter is ready.
+       WaitReady() error
 }