aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-03-29 11:59:55 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:19:06 -0400
commit28898873b0049d4271c0ff3eb57eb329bbc4d9df (patch)
treed828cc30a26b9a9712aa493959ccd1cb2437e9bc /drivers/scsi/scsi.c
parentf58b0efbf49ec54c82b8904c64a6498f829e7544 (diff)
[SCSI] scsi_debug: sweep up sdebug_capacity calculation
sdebug_capacity is calculated at five different places. This add a helper function to calculate sdebug_capacity to sweep up the duplicatated code. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Douglas Gilbert <dougg@torque.net> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions