A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
        return 0;
 }
 
-static int ahci_octeon_remove(struct platform_device *pdev)
-{
-       return 0;
-}
-
 static const struct of_device_id octeon_ahci_match[] = {
        { .compatible = "cavium,octeon-7130-sata-uctl", },
        { /* sentinel */ }
 
 static struct platform_driver ahci_octeon_driver = {
        .probe          = ahci_octeon_probe,
-       .remove         = ahci_octeon_remove,
        .driver         = {
                .name   = "octeon-ahci",
                .of_match_table = octeon_ahci_match,