]> asedeno.scripts.mit.edu Git - linux.git/commit
media: lirc: no need to recalculate duration
authorSean Young <sean@mess.org>
Wed, 13 Dec 2017 21:17:44 +0000 (16:17 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Dec 2017 20:21:49 +0000 (15:21 -0500)
commit7b3aa7146eeed0f2356a92c0edf5e5c829121070
tree0f4e429dee3762c18e485e66cce75f3caac8ed24
parenta74b2bff59455d466a4422ee2f49151ffd65a2ab
media: lirc: no need to recalculate duration

This is code existed for when drivers would send less than the whole
buffer; no driver does this any more, so this is redundant. Drivers
should return -EINVAL if they cannot send the entire buffer.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c