card: don't allow the CARD_NEW hook to fail
authorTanu Kaskinen <tanuk@iki.fi>
Tue, 7 Jun 2016 13:51:00 +0000 (16:51 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 28 Jun 2016 13:55:42 +0000 (16:55 +0300)
commit18d44b97594233f97d26daf1aaf5e7c953ed3843
tree3cbc864378a01b2e56a75ae008e906b4b287b640
parent59e76ca9499fb3b1a6dcfb0525b93b61eb6c1de2
card: don't allow the CARD_NEW hook to fail

There is currently no use for allowing modules to cancel card creation,
and I don't see need for that in the future either. Let's simplify
things by removing the failure handling code.
src/pulsecore/card.c