Re: [PATCH v2] media: rc: Pospone ir raw decoders loading until really needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 15, 2012, at 5:42 PM, Ezequiel García <elezegarcia@xxxxxxxxx> wrote:

> Hi Jarod,
> 
> On Thu, Mar 15, 2012 at 6:35 PM, Jarod Wilson <jarod@xxxxxxxxxx> wrote:
>> 
>> So yeah, ok, I'm fine with this. Haven't tested it with actual raw IR
>> hardware, but I don't see any reason it wouldn't work.
>> 
>> Acked-by: Jarod Wilson <jarod@xxxxxxxxxx>
> 
> Thanks for the feedback.
> I have a paranoid question: Is it ok to solve this with a static variable?
> I don't like static (as I fear globals), but in this case I saw no
> cleaner solution.

Ah, actually... I think you could avoid the global and just make it function-local, since no others access it, and be just as functional.

-j

��.n��������+%������w��{.n�����{��g����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux