diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-01-15 18:05:58 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-17 07:12:20 +0100 |
commit | 332b4b2a6f380e07ccdd72da7f42f11f6b333784 (patch) | |
tree | 9c40cdcf1d4d1416404feff94494253012dcf6bf /crypto/salsa20_generic.c | |
parent | scsi: mpt3sas: make function _get_st_from_smid static (diff) | |
download | linux-332b4b2a6f380e07ccdd72da7f42f11f6b333784.tar.xz linux-332b4b2a6f380e07ccdd72da7f42f11f6b333784.zip |
scsi: mptfusion: Use snprintf() instead of open coded divisions
Numbers up to 100 snprintf() prints without using a division. Besides
that the code looks more readable.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'crypto/salsa20_generic.c')
0 files changed, 0 insertions, 0 deletions