[RFC: 2.6 patch] nsp32_restart_autoscsi(): remove error check

2007-10-24 Thread Adrian Bunk
The Coverity checker noted that we'll anyway Oops later when we ran into this condition - and the error check didn't prevent that. Considering that the error condition shouldn't be possible, and we are not able to handle it easily, this patch simply removes the pointless error check.

Re: [RFC: 2.6 patch] nsp32_restart_autoscsi(): remove error check

2007-10-24 Thread James Bottomley
On Wed, 2007-10-24 at 18:25 +0200, Adrian Bunk wrote: The Coverity checker noted that we'll anyway Oops later when we ran into this condition - and the error check didn't prevent that. Considering that the error condition shouldn't be possible, and we are not able to handle it easily, this

Re: [RFC: 2.6 patch] nsp32_restart_autoscsi(): remove error check

2007-10-24 Thread Adrian Bunk
On Wed, Oct 24, 2007 at 12:41:12PM -0400, James Bottomley wrote: On Wed, 2007-10-24 at 18:25 +0200, Adrian Bunk wrote: The Coverity checker noted that we'll anyway Oops later when we ran into this condition - and the error check didn't prevent that. Considering that the error condition