]> git.baikalelectronics.ru Git - kernel.git/commit
irda: use msecs_to_jiffies() rather than manual calculation
authorXi Wang <xi.wang@gmail.com>
Wed, 21 Dec 2011 02:57:16 +0000 (02:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Dec 2011 20:46:22 +0000 (15:46 -0500)
commit4fae7c6c2283562bf716441ed07eeaba4e3f8fd9
treebacd15d0f680661de4ba72f167df5052f1cf0ecf
parent5b4b1ef232ee31569a77819279c09af548448a2e
irda: use msecs_to_jiffies() rather than manual calculation

Also use mod_timer() instead of direct assignment to "expires".

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/af_irda.c