uapi: remove unhelpful log messages

This commit is contained in:
Jason A. Donenfeld 2019-03-20 23:40:20 -06:00
parent 91b4e909bb
commit c050c6e60f

View file

@ -30,11 +30,6 @@ func (s IPCError) ErrorCode() int64 {
} }
func (device *Device) IpcGetOperation(socket *bufio.Writer) *IPCError { func (device *Device) IpcGetOperation(socket *bufio.Writer) *IPCError {
device.log.Debug.Println("UAPI: Processing get operation")
// create lines
lines := make([]string, 0, 100) lines := make([]string, 0, 100)
send := func(line string) { send := func(line string) {
lines = append(lines, line) lines = append(lines, line)
@ -403,11 +398,9 @@ func (device *Device) IpcHandle(socket net.Conn) {
switch op { switch op {
case "set=1\n": case "set=1\n":
device.log.Debug.Println("UAPI: Set operation")
status = device.IpcSetOperation(buffered.Reader) status = device.IpcSetOperation(buffered.Reader)
case "get=1\n": case "get=1\n":
device.log.Debug.Println("UAPI: Get operation")
status = device.IpcGetOperation(buffered.Writer) status = device.IpcGetOperation(buffered.Writer)
default: default: