| commit | 9c6c6795eda34e4dc38ecac912a16b6314082beb | [log] [tgz] |
|---|---|---|
| author | Adrian Bunk <bunk@stusta.de> | Sat Jul 08 13:33:28 2006 -0700 |
| committer | David S. Miller <davem@davemloft.net> | Sat Jul 08 13:33:28 2006 -0700 |
| tree | ed3dbc45df5794dc229bb2e439875b050ea80ab9 | |
| parent | 1252ecf63f77ea147bd40f5462c7d9e3d3ae2815 [diff] |
[IRDA]: fix drivers/net/irda/ali-ircc.c:ali_ircc_init()
The Coverity checker spotted, that from the changes from commit
898b1d16f8230fb912a0c2248df685735c6ceda3 the
if (ret)
platform_driver_unregister(&ali_ircc_driver);
was dead code.
This patch changes this function to what seems to have been the
intention.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>