Fixed the following checkpatch complaint: return is not a function,
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 6 Aug 2009 13:42:28 +0000 (13:42 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 6 Aug 2009 13:42:28 +0000 (13:42 +0000)
parentheses are not required.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1019 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/src/ib_srpt.c

index ee0cdce..f0392f0 100644 (file)
@@ -134,7 +134,7 @@ static bool srpt_test_and_set_channel_state(struct srpt_rdma_ch *ch,
                ch->state = new;
        spin_unlock_irqrestore(&ch->spinlock, flags);
 
-       return (cur == old);
+       return cur == old;
 }
 
 /*