From: Damien Le Moal <damien.lemoal@xxxxxxx> This series of small patches cleanup code mainly in sd.c and sd_zbc.c, with another small improvement in scsi_error.c. The first 2 patches are not stricktly necessary but would be great to apply to make emacs pretty printer happy and reduce its overhead (if white space highlighting is enabled). The last patch is the only one that introduces a functional change. All other patches do not change any functionality. Comments and reviews are welcome. Bart Van Assche (1): sd_zbc: Remove superfluous assignments Damien Le Moal (8): sd: Remove white space before EOL sd: Fix functions description sd: Remove unecessary variable in sd_done() sd: Improve sd_completed_bytes sd: Cleanup sd_done sense data handling scsi: Improve scsi_get_sense_info_fld sd_zbc: Rename sd_zbc_setup_write_cmnd sd_zbc: Do not write lock zones for reset drivers/scsi/scsi_error.c | 36 ++--- drivers/scsi/sd.c | 402 +++++++++++++++++++++++----------------------- drivers/scsi/sd.h | 8 +- drivers/scsi/sd_zbc.c | 60 +++---- include/scsi/scsi_eh.h | 4 +- 5 files changed, 243 insertions(+), 267 deletions(-) -- 2.9.3