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)
commite681bb287f40e7a9dbcb04cef80fd87a2511ab86
treed89f838301a2950cdbc9901dfb134baa12d9f0c2
parenta10079c6629068b906de5c944cb0e9bcc9517a7e
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