nfctypes: Simplify returning error codes
authorWiktor Lawski <wiktor.lawski@tieto.com>
Thu, 27 Sep 2012 08:31:27 +0000 (10:31 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Oct 2012 15:55:01 +0000 (17:55 +0200)
commita3ec18e10ed4dbca6e4bc54755292ce05e43252f
treeeba9d8729364bf245a6f9220c58b3cdf260545eb
parentfce1942401571af6ae1ca9e93081a8dee1fa306e
nfctypes: Simplify returning error codes

After refactoring near_adapter_send and its calls it is possible now to
simplify returning error codes. Also removed a couple of local variables
from functions where it is safe to return error code directly.
plugins/nfctype1.c
plugins/nfctype2.c
plugins/nfctype3.c
plugins/nfctype4.c