Re: [PATCH v1 06/12] HID: cp2112: Remove dead code

From: Andy Shevchenko
Date: Mon Aug 28 2023 - 04:53:57 EST


On Sat, Aug 26, 2023 at 9:30 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
>
> Le 03/07/2023 à 20:52, Andy Shevchenko a écrit :
> > Remove cp2112_allocate_irq() and counterparts that seems to be
> > a dead code from day 1. In case somebody needs it, it can be
> > retrieved from Git index.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> Hi,
>
> for the records, just in case it still makesense to keep this code:
>
> https://lore.kernel.org/all/CAO-hwJJfncQ3jgtS=HO0atbzrTNOT_rzU66oG2yRTWTSY-L8KA@xxxxxxxxxxxxxx/

It's in the Git index, so we can return it, but the rule of thumb is
that we do not add dead code to the kernel.

--
With Best Regards,
Andy Shevchenko