Re: [PATCH 01/10] USB: move snd_usb_pipe_sanity_check into the USB core

From: Alan Stern
Date: Mon Sep 07 2020 - 12:31:15 EST


On Mon, Sep 07, 2020 at 04:16:34PM +0200, Greg Kroah-Hartman wrote:
> On Thu, Sep 03, 2020 at 09:32:30AM +0200, Greg Kroah-Hartman wrote:
> > On Wed, Sep 02, 2020 at 08:45:53PM -0400, Alan Stern wrote:

> > > Since this routine is used in only one place in the entire kernel, you
> > > might as well inline the code there and get rid of the function
> > > entirely.
> >
> > Good idea, will do.
>
> No, wait, the USB sound drivers call it a lot, so it needs to stick
> around for now until we clean that up.

Argh. I must have run "git grep" from within drivers/usb/core. My
mistake.

Alan Stern