]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfac8b74f48c09bccdeabc73be8d3f86c6afdd79b
tree37e86bfb4256efd16b16fe469a2efca45a079e96
parentcf71c0be319b9025d935721f5e5de7abaca83ee5
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