]> git.baikalelectronics.ru Git - kernel.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)
commitbfde5a6818df9933d2c11d69b3ccf2c0177188db
tree60b56052806bd5a9779232992894decba9982622
parente02a3e40cb5538280176f4ff062d722dcb467a9e
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