Re: [PATCH v2] From: Andrey Utkin

2014-07-11 Thread Ian Abbott
On 2014-07-11 15:32, Ian Abbott wrote: From: Andrey Utkin drivers/staging/comedi/drivers/ni_atmio16d.c: remove pointless condition Sorry, I messed up the subject line. Let me try that again! -- -=( Ian Abbott @ MEV Ltd.E-mail: )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 7

[PATCH v2] From: Andrey Utkin

2014-07-11 Thread Ian Abbott
From: Andrey Utkin drivers/staging/comedi/drivers/ni_atmio16d.c: remove pointless condition The issue was discovered with static analysis and has two instances in this file. The code looks like this if (x < 65536000) { ... } else if (x < 65536) { ... } else if (x <= 0xfff