]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit696f2c4cacdf2c2e185e6315d07b71c3909054a8
tree289d811a797a9e5e333361c58be9a6f80a172d35
parent43ffab1998c2bfaa28089c6c8907ae650aa9929e
[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