Re: [PATCH v2 2/2] staging: speakup: refactor to use existing code in vt

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

 



Okash Khawaja, le jeu. 04 avril 2019 08:00:24 +0100, a ecrit:
> Thinking about it, we can also make use of return value of
> cancel_work_sync(). It returns true if work was pending. So, if no work
> was pending then we don't need to do anything as the kref would be
> balanced and the tty would be set to NULL by the time

Oh, indeed.

Samuel
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]

  Powered by Linux