lkml.org 
[lkml]   [2017]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] tpm/tpm_crb: mark PM functions as __maybe_unused
Date

>
> On Mon, Mar 20, 2017 at 11:01:36PM +0000, Winkler, Tomas wrote:
>
> > I believe that in this case the #ifdefs can be done correctly quite
> > easily, but now I'm not against your solution as well, just maybe put
> > some of this info to the commit message.
>
> I perfer fewer ifdefs, it makes it more maintainable..

Sure,
>
> The compiler will remove unused static functions.

I'm not sure if this goes away w/o --gc-sections, but it might.
Will check, didn't looked at that for a while.

Thanks
Tomas

Tomas

\
 
 \ /
  Last update: 2017-03-21 00:40    [W:0.052 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site