ataflop: Remove unneeded semicolon
authorzhengbin <zhengbin13@huawei.com>
Thu, 28 Nov 2019 03:09:32 +0000 (11:09 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Nov 2019 17:40:47 +0000 (10:40 -0700)
Fixes coccicheck warning:

drivers/block/ataflop.c:860:53-54: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ataflop.c

index bd7d3bb..1553d41 100644 (file)
@@ -857,7 +857,7 @@ static void fd_calibrate( void )
        }
 
        if (ATARIHW_PRESENT(FDCSPEED))
-               dma_wd.fdc_speed = 0;   /* always seek with 8 Mhz */;
+               dma_wd.fdc_speed = 0;   /* always seek with 8 Mhz */
        DPRINT(("fd_calibrate\n"));
        SET_IRQ_HANDLER( fd_calibrate_done );
        /* we can't verify, since the speed may be incorrect */