diff options
author | 2020-03-26 16:58:00 +0100 | |
---|---|---|
committer | 2020-03-26 10:28:18 -0600 | |
commit | 33531001364d32a79b34da2dd4089715384d0968 (patch) | |
tree | d56781320975c419832030408fb0c7a563aa352d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sata_promise: use ata_cable_sata() (diff) | |
download | wireguard-linux-33531001364d32a79b34da2dd4089715384d0968.tar.xz wireguard-linux-33531001364d32a79b34da2dd4089715384d0968.zip |
ata: simplify ata_scsiop_inq_89()
Initialize rbuf[] directly instead of using ata_tf_to_fis(). This
results in simpler and smaller code. It also allows separating
ata_tf_to_fis() into SATA specific libata part in the future.
Code size savings on m68k arch using (modified) atari_defconfig:
text data bss dec hex filename
before:
20824 105 4096 25025 61c1 drivers/ata/libata-scsi.o
after:
20782 105 4096 24983 6197 drivers/ata/libata-scsi.o
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions