libata: Separate out ata_dev_config_ncq_send_recv()
authorHannes Reinecke <hare@suse.de>
Mon, 25 Apr 2016 10:45:46 +0000 (12:45 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 9 May 2016 16:36:45 +0000 (12:36 -0400)
commit5a2335512ad30ea38e53e112ca51e8a314dc6874
treeebf883df43eb4c9c22226a061bd3e046eb6bbfa7
parent661ce1f0c4a69f92ad781d8d2c205c90dd9c5833
libata: Separate out ata_dev_config_ncq_send_recv()

Move NCQ SEND/RECEIVE checks into a separate function.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-core.c