On Sunday, 10 June 2007 16:55, Alan Stern wrote: > On Sun, 10 Jun 2007, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki <rjw@xxxxxxx> > > > > Reduce code duplication in drivers/base/suspend.c by introducing an inline > > function for printing diagnostic messages. > > Could you save object-code space by making the function non-inline? > It looks complicated enough. I thought I would do that, but then I thought I'd want it to be compiled out if dev_dbg() were a noop (like when the debugging is off). > Or is the compiler supposed to figure such things out for itself? I think it is. I'll remove this 'inline'. Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm