# \[linux-4.2-rc3/tools/testing/selftests/futex/functional/futex\_requeue\_pi\_signal\_restart.c:194: bad if condition ?

- From: David Binderman \<hidden\>
- Date: 2015-07-20 09:26:57 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/07/13329249
- Thread: https://ratatoskr.run/linux-api/2015/07/13329249/t.md

```text
Hello there,

[linux-4.2-rc3/tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c:194]: (style) Expression is always false because 'else if' condition matches previous condition at line 191.

Source code is

        if (res> 0) {
            atomic_set(&requeued, 1);
            break;
        } else if (res> 0) {

Regards

David Binderman

 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
