From a6be4c1abeaec26d4d55d9f33965cb7796f9f87c Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 6 Oct 2008 17:19:48 +0000 Subject: [PATCH] The patch below fixes the following checkpatch error: ERROR: return is not a function, parentheses are not required This patch has been tested by verifying that the newly generated patch still applies without warnings to the 2.6.25.17 kernel and that the patched kernel still compiles. Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@513 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index ac4d2cbd5..56c5f8b5d 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -1165,7 +1165,7 @@ static int srpt_release_channel(struct srpt_rdma_ch *ch, int destroy_cmid) kfree(ch); - return (destroy_cmid ? 0 : 1); + return destroy_cmid ? 0 : 1; } static void srpt_register_channel_done(struct scst_session *scst_sess,