]> code.delx.au - pulseaudio/commit
bluetooth: Simplify redundant error check
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 11 Jan 2013 10:07:49 +0000 (11:07 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 11 Jan 2013 19:54:05 +0000 (21:54 +0200)
commita0cc0136ea28d88bf95f24f80003493cb3c981ad
tree212ac4b79c80d3be65278a322108d18fecdd75f9
parent241059de7069911f41f1c0299b4a1cad4fa575cc
bluetooth: Simplify redundant error check

As pointed out by Tanu, checking both error conditions is redundant and
raises the question whether it's possible that one of the conditions is
true while the other is false.

Therefore, simplify the condition by just checking one part of the
disjunction.
src/modules/bluetooth/bluetooth-util.c