From 79b9d3141c6754f5a88e5b68456774b6b70bab08 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 6 Aug 2009 13:42:28 +0000 Subject: [PATCH] Fixed the following checkpatch complaint: return is not a function, parentheses are not required. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1019 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 ee0cdceba..f0392f0ec 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -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; } /*