]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging:r8188eu: use DIV_ROUND_UP() in rtw_signal_stat_timer_hdl()
authorIvan Safonov <insafonov@gmail.com>
Tue, 14 Feb 2017 22:25:24 +0000 (01:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:00 +0000 (09:17 +0100)
commit0bb2b81ee41397630ae94764a7db2e4caaa8df78
tree14a167226aa7413b4ccc832c19dd78968cc2567a
parentd680d24eacac3124fc0d6a2fab0eef0074f09efd
staging:r8188eu: use DIV_ROUND_UP() in rtw_signal_stat_timer_hdl()

DIV_ROUND_UP macro is shorter and look better than if-else construction.
DIV_ROUND_UP used in rtw_signal_stat_timer_hdl().

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c