[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <HK2PR06MB054833FB57954FF59385DCEDD8A60@HK2PR06MB0548.apcprd06.prod.outlook.com>
Date: Tue, 8 Nov 2016 02:17:25 +0000
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
To: Nicholas Mc Guire <hofrat@...dl.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: Felipe Balbi <felipe.balbi@...ux.intel.com>,
Julia Lawall <Julia.Lawall@...6.fr>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] usb: renesas_usbhs: simplify list handling
Hi,
> From: Nicholas Mc Guire
> Sent: Tuesday, November 08, 2016 4:07 AM
>
> The current code is effectively equivalent to list_first_entry_or_null()
> so simply switch and simplify the code.
>
> Fixes: 6acb95d4e070 ("usb: renesas_usbhs: modify packet queue control method")
> Signed-off-by: Nicholas Mc Guire <hofrat@...dl.org>
> ---
> Found by simple coccinelle scanner
>
> Compile tested with: multi_v7_defconfig (implies
> CONFIG_USB_RENESAS_USBHS=m)
>
> Patch is against 4.9.0-rc2 (localversion-next is next-20161028)
Thank you for the patch!
However, such a patch is already merged in the Felipe's usb.git repository unfortunately...
https://git.kernel.org/cgit/linux/kernel/git/balbi/usb.git/commit/?h=testing/next&id=31faf878bd8c7e2c078a3b75f65efe64f23b0f18
So, the patch will appear in linux-next repository in the future.
Best regards,
Yoshihiro Shimoda
Powered by blists - more mailing lists