summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorPeter Huewe <PeterHuewe@gmx.de>2013-10-29 01:59:57 +0100
committerPeter Huewe <peterhuewe@gmx.de>2014-01-06 14:37:24 +0100
commit37bd99d7cba195692be2874cdb8048c9044806c7 (patch)
treefa6b0a88166e61e18ed6159a938ee208ff448897 /drivers/char
parent85c5e0d451125c6ddb78663972e40af810b83644 (diff)
tpm/tpm_ibmvtpm: fix unreachable code warning (smatch warning)
smatch complains: drivers/char/tpm/tpm_ibmvtpm.c:510 ibmvtpm_crq_process() info: ignoring unreachable code. -> The return is not necessary here, remove it Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm_ibmvtpm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c
index 2783a42aa732..cab8d098095c 100644
--- a/drivers/char/tpm/tpm_ibmvtpm.c
+++ b/drivers/char/tpm/tpm_ibmvtpm.c
@@ -507,7 +507,6 @@ static void ibmvtpm_crq_process(struct ibmvtpm_crq *crq,
dev_err(ibmvtpm->dev, "Unknown crq message type: %d\n", crq->msg);
return;
}
- return;
case IBMVTPM_VALID_CMD:
switch (crq->msg) {
case VTPM_GET_RTCE_BUFFER_SIZE_RES: