diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-05-15 23:41:25 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-06-13 05:42:58 +0300 |
commit | 75b4d58cb5bd7401d537f149e2fa268beaa2c375 (patch) | |
tree | bf8809f0c7bc7e6c666ccedb07abd36e62693e1c /.gitignore | |
parent | 96c34ac4ec30f31941b55f6866a5cc7631b5e92f (diff) | |
download | linux-75b4d58cb5bd7401d537f149e2fa268beaa2c375.tar.xz |
ata: pata_hpt37x: merge hpt374_read_freq() to hpt37x_pci_clock()
With hpt374_read_freq() implemented as a separate function, there's
some code duplication going on, not to mention that this function is
named incorrectly: it returns the f_CNT register value saved by BIOS,
not the PCI clock frequency.
Folding hpt374_read_freq() into hpt37x_pci_clock() saves 20 bytes of
object code with x86_64 gcc 10.3.1...
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions