ata: libata-core: Simplify if condition in ata_dev_revalidate()
authorYahu Gao <gaoyh12@lenovo.com>
Mon, 15 May 2023 02:36:58 +0000 (10:36 +0800)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 16 May 2023 11:08:05 +0000 (20:08 +0900)
commit12e2e17de2cd555f795d9f7cff049ecbc2b17cf8
treeef244ba7ca907f55842ef90d90ca9ecf1f8931fd
parenta7eb54d44045d424624d3ac7d02feb8ef96744ec
ata: libata-core: Simplify if condition in ata_dev_revalidate()

Simplify the condition used in ata_dev_revalidate() to not
issue identify commands to port multiplier devices.

Signed-off-by: Yahu Gao <gaoyh12@lenovo.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-core.c