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 <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-10-06 17:19:48 +00:00
parent 7b02f74ee0
commit a6be4c1abe

View File

@@ -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,