On 11/6/2022 4:50 PM, Damien Le Moal wrote: > Introduce the inline helper function ata_ncq_supported() to test if a > device supports NCQ commands. The function ata_ncq_enabled() is also > rewritten using this new helper function. > > Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> > Reviewed-by: Hannes Reinecke <hare@xxxxxxx> > --- Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx> -ck