scsi: sg: Use mult_frac, drop MULDIV macro
authorPaul Burton <paul.burton@imgtec.com>
Fri, 19 Aug 2016 16:43:57 +0000 (17:43 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 31 Aug 2016 02:18:59 +0000 (22:18 -0400)
commitf8630bd7e2185d175f76b38b36609c45144e2d15
tree5f80defef589138de79c27471ee9deeabf21c551
parentb9b6e80ad3b11778f1066d698a838bcc86efb6be
scsi: sg: Use mult_frac, drop MULDIV macro

The MULDIV macro is essentially a duplicate of the more standard
mult_frac macro. Replace use of MULDIV with mult_frac & drop the
duplication.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sg.c