[media] ngene: remove an unneeded condition

"stat" is always zero here.  The condition used to be needed, but we
shifted stuff around in 0f0b270f90 "[media] ngene: CXD2099AR Common
Interface driver".

This doesn't change how the code works, it's just a bit tidier.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Dan Carpenter 2012-04-20 09:15:02 -03:00 коммит произвёл Mauro Carvalho Chehab
Родитель 2e71064f2f
Коммит bcb2cf6e0b
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -1409,10 +1409,8 @@ static int ngene_start(struct ngene *dev)
if (stat < 0)
goto fail;
if (!stat)
return stat;
return 0;
/* otherwise error: fall through */
fail:
ngwritel(0, NGENE_INT_ENABLE);
free_irq(dev->pci_dev->irq, dev);