]> git.baikalelectronics.ru Git - kernel.git/commit
ata: pata_octeon_cf: remove redundant val variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 4 Jan 2022 11:25:45 +0000 (11:25 +0000)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 14 Jan 2022 06:17:16 +0000 (15:17 +0900)
commit353c24d4b961f6f702d73f728a1eff4860986be5
treeeecec7903e290c2bc64abc71973f3556d19b7039
parentc8f19264a0c8abdb3d9926712d7e78acc2d608c6
ata: pata_octeon_cf: remove redundant val variable

Return value from DIV_ROUND_UP() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_octeon_cf.c