diff options
author | Christoph Hellwig <hch@lst.de> | 2014-06-28 12:35:13 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-17 22:16:26 +0200 |
commit | 6a7b43985daa4f42b6d6f0186594c3a68f84a1d8 (patch) | |
tree | e6eb9a0fde65de834d2693ca6f0e108f87d34b06 /drivers/power/abx500_chargalg.c | |
parent | 59b1134c5a2aab2c70725af83d2e2d1c71c509ca (diff) | |
download | linux-6a7b43985daa4f42b6d6f0186594c3a68f84a1d8.tar.bz2 |
sd: don't use scsi_setup_blk_pc_cmnd for discard requests
Simplify handling of discard requests by setting up the command directly
instead of initializing request fields and then calling
scsi_setup_blk_pc_cmnd to propagate the information into the command.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/power/abx500_chargalg.c')
0 files changed, 0 insertions, 0 deletions