]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: Use DIV_ROUND_UP macro instead of specific code
authorOscar Carter <oscar.carter@gmx.com>
Thu, 26 Mar 2020 17:59:02 +0000 (18:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Mar 2020 09:05:52 +0000 (10:05 +0100)
commitcbb48b300941609c02aa590c5b43a960ef5bf639
treed89f838301a2950cdbc9901dfb134baa12d9f0c2
parent5c02b94eb076cba87adff5cd9c38cb01eb64f2b6
staging: vt6656: Use DIV_ROUND_UP macro instead of specific code

Use DIV_ROUND_UP macro instead of specific code with the same purpose.
Also, remove the unused variables.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Reviewed-by: Quentin Deslandes <quentin.deslandes@itdev.co.uk>
Link: https://lore.kernel.org/r/20200326175902.14467-1-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c