summaryrefslogtreecommitdiff
path: root/drivers/scsi/device_handler
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2016-04-25 19:16:34 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-04-30 02:44:23 +0300
commitf46eb0e9fc763b7b66c325eb94e6aefa960146d2 (patch)
tree19ab8555c08d7ab0a7c9ed4a71a388483fdadc0a /drivers/scsi/device_handler
parentfd32119b0deac1af90ca3bed145f17d5ad68d5a7 (diff)
downloadlinux-f46eb0e9fc763b7b66c325eb94e6aefa960146d2.tar.xz
scsi_debug: use likely hints on fast path
The most common commands in normal use are the READ and WRITE SCSI commands. Use likely and unlikely hints along the path taken by these commands. Rename check_readiness() to make_ua() and remove associated dead code. Rename devInfoReg() to find_build_dev_info(). Signed-off-by: Douglas Gilbert <dgilbert@interlog.com> Reviewed-by: Hannes Reinicke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/device_handler')
0 files changed, 0 insertions, 0 deletions