ata: libata-core: make ata_exec_internal_sg() *static*
authorSergey Shtylyov <s.shtylyov@omp.ru>
Wed, 15 Jun 2022 19:38:20 +0000 (22:38 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 17 Jun 2022 07:45:23 +0000 (16:45 +0900)
commit4d6119f06ce14756777c4bb098fb4ad99a0a5d46
tree37e86bfb4256efd16b16fe469a2efca45a079e96
parentf0a6d77b351c18c122fc1638ac9e58f5e0346f64
ata: libata-core: make ata_exec_internal_sg() *static*

ata_exec_internal_sg() is only called by ata_exec_internal() further in
the same file, so we can make it *static* and remove its prototype from
drivers/ata/libata.h...

Suggested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-core.c
drivers/ata/libata.h