[PATCH 3/5] Fix 'void function return statements are not generally useful' warning

From: SZ Lin
Date: Sat Jul 29 2017 - 03:25:30 EST


WARNING: void function return statements are not generally useful
+ return;
+}

Signed-off-by: SZ Lin <sz.lin@xxxxxxxx>
---
drivers/char/tpm/tpm_ibmvtpm.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c
index 23913fc86158..e53b9fb517d9 100644
--- a/drivers/char/tpm/tpm_ibmvtpm.c
+++ b/drivers/char/tpm/tpm_ibmvtpm.c
@@ -531,7 +531,6 @@ static void ibmvtpm_crq_process(struct ibmvtpm_crq *crq,
return;
}
}
- return;
}

/**
--
2.13.3