drivers/connector/cn_queue.c:130: warning: value computed is not used

2006-05-30 Thread Andreas Schwab
There is no point in testing the atomic value if the result is thrown away. Signed-off-by: Andreas Schwab [EMAIL PROTECTED] diff --git a/drivers/connector/cn_queue.c b/drivers/connector/cn_queue.c index 9f2f00d..05f8ce2 100644 --- a/drivers/connector/cn_queue.c +++ b/drivers/connector/cn_queue.c

Re: drivers/connector/cn_queue.c:130: warning: value computed is not used

2006-05-30 Thread Evgeniy Polyakov
On Tue, May 30, 2006 at 01:34:02PM +0200, Andreas Schwab ([EMAIL PROTECTED]) wrote: There is no point in testing the atomic value if the result is thrown away. It was created to put implicit smp barrier, but it is not needed there. Your patch is correct, thank you. Signed-off-by: Andreas

Re: drivers/connector/cn_queue.c:130: warning: value computed is not used

2006-05-30 Thread David Miller
From: Evgeniy Polyakov [EMAIL PROTECTED] Date: Tue, 30 May 2006 15:48:38 +0400 On Tue, May 30, 2006 at 01:34:02PM +0200, Andreas Schwab ([EMAIL PROTECTED]) wrote: There is no point in testing the atomic value if the result is thrown away. It was created to put implicit smp barrier, but