mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user