diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-07-30 14:38:07 +0900 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2024-08-02 09:18:42 +0900 |
commit | b40824500eaa77668026b6d1ade6924901a680f9 (patch) | |
tree | c40b717961c2adee9651e6bb289c0e0fd4b365a3 /include/linux/vmcore_info.h | |
parent | 73eb824914ff6371b27b37706eab42c30747ca89 (diff) |
ata: libata: Remove ata_noop_qc_prep()
The function ata_noop_qc_prep(), as its name implies, does nothing and
simply returns AC_ERR_OK. For drivers that do not need any special
preparations of queued commands, we can avoid having to define struct
ata_port qc_prep operation by simply testing if that operation is
defined or not in ata_qc_issue(). Make this change and remove
ata_noop_qc_prep().
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Diffstat (limited to 'include/linux/vmcore_info.h')
0 files changed, 0 insertions, 0 deletions