diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-12-23 17:12:56 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-12-23 17:12:56 +0000 |
commit | e73823d287d03d9bc11b43ce37836c38cab1f55f (patch) | |
tree | 1ede06456c8fa95fdc3a7d2df057b886fd23cb39 /include | |
parent | bce0909d785f9ae723e7d32c9b40134e68a44131 (diff) | |
download | upstream-e73823d287d03d9bc11b43ce37836c38cab1f55f.tar.gz upstream-e73823d287d03d9bc11b43ce37836c38cab1f55f.tar.bz2 upstream-e73823d287d03d9bc11b43ce37836c38cab1f55f.zip |
ledtrig-netdev: drop locking from timer callback function
We may just delete timer on every trigger update and then start it again
if needed. This will let us avoid both: races and locking in frequently
called timer callback.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47987
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47991 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions