[SCSI] esp_scsi: Use DIV_ROUND_UP
authorJulia Lawall <julia@diku.dk>
Wed, 29 Oct 2008 21:24:40 +0000 (14:24 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:14 +0000 (11:24 -0600)
commit237abac6ff093aa5cb64faf6f632c479e00a67be
tree289d811a797a9e5e333361c58be9a6f80a172d35
parent973b73605cc2ac1f51457809c5f1f1f8ab760c47
[SCSI] esp_scsi: Use DIV_ROUND_UP

Use the macro DIV_ROUND_UP and eliminate the variable rounded_up, as
suggested by Matthew Wilcox.

Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: David Miller <davem@davemloft.net>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/esp_scsi.c