[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a52260a5-921c-53f9-8709-ae7189395cee@gmail.com>
Date: Thu, 2 Mar 2017 07:51:11 +0100
From: Michel Hermier <michel.hermier@...il.com>
To: Joe Perches <joe@...ches.com>, Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Bruno Prémont <bonbons@...ux-vserver.org>,
Stefan Achatz <erazor_de@...rs.sourceforge.net>,
Jonathan Cameron <jic23@...nel.org>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-iio@...r.kernel.org
Subject: Re: [PATCH 2/2] HID: Remove unnecessary OOM messages
Le 01/03/2017 à 20:19, Joe Perches a écrit :
> 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.
Powered by blists - more mailing lists