[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170729072433.13194-4-sz.lin@moxa.com>
Date: Sat, 29 Jul 2017 15:24:31 +0800
From: SZ Lin <sz.lin@...a.com>
To: ashleydlai@...il.com
Cc: benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
peterhuewe@....de, tpmdd@...horst.ne,
jarkko.sakkinen@...ux.intel.com, jgunthorpe@...idianresearch.com,
tpmdd-devel@...ts.sourceforge.net, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, SZ Lin <sz.lin@...a.com>
Subject: [PATCH 3/5] Fix 'void function return statements are not generally useful' warning
WARNING: void function return statements are not generally useful
+ return;
+}
Signed-off-by: SZ Lin <sz.lin@...a.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
Powered by blists - more mailing lists