]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] mantis: remove dead code
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 29 Apr 2015 12:38:06 +0000 (09:38 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Apr 2015 18:31:18 +0000 (15:31 -0300)
drivers/media/pci/mantis/mantis_cards.c:229 mantis_pci_probe() info: ignoring unreachable code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/mantis/mantis_cards.c

index 801fc55b61679a944c43e6616c6fbf36c18cb5c6..f437646aa9aa012aae67ced46406062540007a94 100644 (file)
@@ -226,9 +226,6 @@ static int mantis_pci_probe(struct pci_dev *pdev,
        return err;
 
 
-       dprintk(MANTIS_ERROR, 1, "ERROR: Mantis UART exit! <%d>", err);
-       mantis_uart_exit(mantis);
-
 fail6:
 fail4:
        dprintk(MANTIS_ERROR, 1, "ERROR: Mantis DMA exit! <%d>", err);