Thread (5 messages) 5 messages, 2 authors, 2017-03-02

Re: [PATCH 2/2] HID: Remove unnecessary OOM messages

From: Michel Hermier <hidden>
Date: 2017-03-02 06:53:01
Also in: linux-iio, lkml

Le 01/03/2017 à 20:19, Joe Perches a écrit :
quoted hunk ↗ jump to hunk
diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c
index 70b12f89a193..1ee6aac855a3 100644
--- a/drivers/hid/hid-asus.c
+++ b/drivers/hid/hid-asus.c
@@ -224,7 +224,6 @@ static int asus_start_multitouch(struct hid_device *hdev)
  
  	if (!dmabuf) {
  		ret = -ENOMEM;
-		hid_err(hdev, "Asus failed to alloc dma buf: %d\n", ret);
  		return ret;
  	}
Trivial set and return value missed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help