NFC: digital: Use NFC_NFCID3_MAXSIZE from nfc.h
authorThierry Escande <thierry.escande@linux.intel.com>
Thu, 2 Jan 2014 10:58:14 +0000 (11:58 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 4 Jan 2014 02:35:34 +0000 (03:35 +0100)
commit4f319e3251937a73719b13397d738640622ba513
tree70da83a14832304cff45ce054d368461d4113dcc
parent67af1d7a0fb4b5397cb093c0fe98d5b95516c228
NFC: digital: Use NFC_NFCID3_MAXSIZE from nfc.h

This removes the declaration of NFCID3 size in digital_dep.c and now
uses the one from nfc.h.

This also removes a faulty and unneeded call to max().

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_dep.c
This page took 0.024981 seconds and 5 git commands to generate.