summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-sata.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-07-10 10:45:48 +0800
committerDamien Le Moal <dlemoal@kernel.org>2023-08-02 17:37:06 +0900
commit9402b802aa998d3f41efda331699d1621db957ec (patch)
treedf7aaac53e320da97daf5fa416c39b94f37ff353 /drivers/ata/libata-sata.c
parentb1aa998467c315228f3610da4fdfb455131692bb (diff)
ata: pata_ixp4xx: Remove unnecessary return value check
As commit ce753ad1549c ("platform: finally disallow IRQ0 in platform_get_irq() and its ilk") says, there is no need to check if the platform_get_irq return value is 0. Let's remove it. Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'drivers/ata/libata-sata.c')
0 files changed, 0 insertions, 0 deletions