]> git.karo-electronics.de Git - linux-beck.git/commit
NFC: st21nfca: fix "WARNING: else is not generally useful after a break or return"
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 3 Sep 2014 21:30:30 +0000 (23:30 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 22:31:38 +0000 (00:31 +0200)
commit0a91e8ac240a12ac3a03581deb8cd531788c63d4
tree60b56052806bd5a9779232992894decba9982622
parentefaf956ad6852a7ae0cc4c78bd31079f8039daa6
NFC: st21nfca: fix "WARNING: else is not generally useful after a break or return"

scripts/checkpatch.pl -f drivers/nfc/st21nfca.c is throwing the following:
WARNING: else is not generally useful after a break or return
#866: FILE: drivers/nfc/st21nfca/st21nfca.c:866:
+ return 0;
+ } else {

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/st21nfca.c