RE: [PATCH 1/8] staging: comedi: rearrange comedi_write() code

2015-11-19 Thread Hartley Sweeten
On Wednesday, November 18, 2015 10:55 AM, Ian Abbott wrote: > Rearrange the code in `comedi_write()` to reduce the amount of > indentation. The code never reiterates the `while` loop once `count` > has become non-zero, so we can check that in the `while` condition to > save an indentation level.

RE: [PATCH 1/8] staging: comedi: rearrange comedi_write() code

2015-11-19 Thread Hartley Sweeten
On Wednesday, November 18, 2015 10:55 AM, Ian Abbott wrote: > Rearrange the code in `comedi_write()` to reduce the amount of > indentation. The code never reiterates the `while` loop once `count` > has become non-zero, so we can check that in the `while` condition to > save an indentation level.