[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-iio
Subject: Re: [PATCH 2/2] HID: Remove unnecessary OOM messages
From: Joe Perches <joe () perches ! com>
Date: 2017-03-02 6:54:56
Message-ID: 1488437696.2179.3.camel () perches ! com
[Download RAW message or body]
On Thu, 2017-03-02 at 07:51 +0100, Michel Hermier wrote:
> Le 01/03/2017 à 20:19, Joe Perches a écrit :
> > diff --git 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.
You're welcome to submit a follow-on patch.
The compiler should produce the same code
in any case.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic