On Tue, Aug 8, 2023 at 9:21 PM Shenwei Wang <shenwei.wang@xxxxxxx> wrote: > > -----Original Message----- > > From: Andy Shevchenko <andy@xxxxxxxxxx> > > Sent: Tuesday, August 8, 2023 12:39 PM ... > > > +static void mxc_update_irq_chained_handler(struct mxc_gpio_port > > > +*port, bool enable) { > > > + if (!port) > > > + return; > > > > When can this be true? > > If the function is called at right place and right time, it won't be true. Just in case. 😊 I'm not sure I get this. If you try to add a dead code, don't do that. Otherwise can you clarify at which circumstances it can be not a dead code? -- With Best Regards, Andy Shevchenko