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

Samuel Thibault samuel.thibault at ens-lyon.org
Thu Apr 4 03:03:16 EDT 2019


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


More information about the Speakup mailing list