ata: libata-eh: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 20 Sep 2022 06:29:29 +0000 (06:29 +0000)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 21 Sep 2022 02:17:05 +0000 (11:17 +0900)
commitcb6e73aaadff73751bb1c01349e58f2c6428e0a8
treead56840ec06311c866925bc2cf3b1c24d543fed5
parentecf8322f464d62759d838ea62cdeff6966a60134
ata: libata-eh: Remove the unneeded result variable

Return the value ata_port_abort() directly instead of storing it in
another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-eh.c