Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753532AbdG2HZM (ORCPT ); Sat, 29 Jul 2017 03:25:12 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34694 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753408AbdG2HZK (ORCPT ); Sat, 29 Jul 2017 03:25:10 -0400 From: SZ Lin To: ashleydlai@gmail.com Cc: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, peterhuewe@gmx.de, tpmdd@selhorst.ne, jarkko.sakkinen@linux.intel.com, jgunthorpe@obsidianresearch.com, tpmdd-devel@lists.sourceforge.net, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, SZ Lin Subject: [PATCH 3/5] Fix 'void function return statements are not generally useful' warning Date: Sat, 29 Jul 2017 15:24:31 +0800 Message-Id: <20170729072433.13194-4-sz.lin@moxa.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170729072433.13194-1-sz.lin@moxa.com> References: <20170729072433.13194-1-sz.lin@moxa.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 520 Lines: 23 WARNING: void function return statements are not generally useful + return; +} Signed-off-by: SZ Lin --- 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