The patch below fixes the following checkpatch error:
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 6 Oct 2008 17:19:48 +0000 (17:19 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 6 Oct 2008 17:19:48 +0000 (17:19 +0000)
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: https://scst.svn.sourceforge.net/svnroot/scst/trunk@513 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/src/ib_srpt.c

index ac4d2cb..56c5f8b 100644 (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,