Re: [PATCH v1 06/12] HID: cp2112: Remove dead code
From: Andy Shevchenko <hidden>
Date: 2023-08-28 08:53:56
Also in:
lkml
From: Andy Shevchenko <hidden>
Date: 2023-08-28 08:53:56
Also in:
lkml
On Sat, Aug 26, 2023 at 9:30 PM Christophe JAILLET [off-list ref] wrote:
Le 03/07/2023 à 20:52, Andy Shevchenko a écrit :quoted
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@linux.intel.com>Hi, for the records, just in case it still makesense to keep this code: https://lore.kernel.org/all/CAO-hwJJfncQ3jgtS=HO0atbzrTNOT_rzU66oG2yRTWTSY-L8KA@mail.gmail.com/ (local)
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