]> err.no Git - linux-2.6/commit
[CONNECTOR]: Fix warning in cn_queue.c
authorAndreas Schwab <schwab@suse.de>
Tue, 6 Jun 2006 04:21:57 +0000 (21:21 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:29:43 +0000 (21:29 -0700)
commitcec6f7f39c3db7d9f6091bf2f8fc8d520f372719
tree08142a001fa9b010056202293697c7b5aea6bae8
parentf86502bfc177f69bbabbedb78ebf710579ae0e54
[CONNECTOR]: Fix warning in cn_queue.c

cn_queue.c:130: warning: value computed is not used

There is no point in testing the atomic value if the result is thrown
away.

From Evgeniy:

It was created to put implicit smp barrier, but it is not needed there.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/cn_queue.c