[PATCH 3/5] Fix 'void function return statements are not generally useful' warning
SZ Lin
sz.lin at moxa.com
Sat Jul 29 17:24:31 AEST 2017
WARNING: void function return statements are not generally useful
+ return;
+}
Signed-off-by: SZ Lin <sz.lin at moxa.com>
---
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
More information about the Linuxppc-dev
mailing list