]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: Use DIV_ROUND_UP instead of reimplementing its function
authorzhong jiang <zhongjiang@huawei.com>
Tue, 11 Sep 2018 13:08:15 +0000 (21:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 03:34:47 +0000 (20:34 -0700)
commit041a5b078dc0e5f5e9d33cbeb3b2f135c26a8f0f
tree6204f0a1b89706cc0b513394e74eabae8c369c0d
parent20bf1f09be90523eb3924ab308bf0c9c0e09063f
net: ethernet: Use DIV_ROUND_UP instead of reimplementing its function

DIV_ROUND_UP has implemented the code-opened function. Therefore, just
replace the implementation with DIV_ROUND_UP.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/sb1250-mac.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.c
drivers/net/ethernet/freescale/gianfar_ethtool.c
drivers/net/ethernet/ibm/emac/mal.h
drivers/net/ethernet/mellanox/mlx4/alloc.c
drivers/net/ethernet/mellanox/mlx4/icm.c
drivers/net/ethernet/mellanox/mlx5/core/srq.c
drivers/net/ethernet/neterion/s2io.c