Remove dead code

Problem reported by Coverity:
  dead_error_condition: The switch value "nbr" cannot be "NBR_UNDEFINED".
  CID 1090326 (#1 of 2): Logically dead code (DEADCODE)
  dead_error_begin: Execution cannot reach this statement "case NBR_UNDEFINED:".
This commit is contained in:
Philippe Teuwen 2013-09-22 03:09:08 +02:00
parent cedbefb880
commit 54729fb458

View file

@ -2557,11 +2557,6 @@ pn53x_InJumpForDEP(struct nfc_device *pnd,
memcpy(abtCmd + offset, pbtPassiveInitiatorData, 5); memcpy(abtCmd + offset, pbtPassiveInitiatorData, 5);
offset += 5; offset += 5;
break; break;
case NBR_847:
case NBR_UNDEFINED:
pnd->last_error = NFC_EINVARG;
return pnd->last_error;
break;
} }
} }