H Hartley Sweeten 68ad0ae0ea staging: comedi: s626: remove 'allocatedBuf' from private data
This variable is only used to count the number of dma buffers
allocated during the attach. If an allocation fails, the attach
function exits with -ENOMEM. When this variable is checked later
it will always be == 2. Just remove the variable and the check.

This allows bringing the code back an indent level in
s626_initialize(). Note, coding style issues in this function
are not addressed yet.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-26 09:37:31 -07:00
..
2012-08-02 13:51:46 -04:00
2012-08-17 09:21:35 +02:00
2012-08-13 10:15:22 +05:30
2012-07-29 21:11:05 -03:00
2012-07-30 09:32:39 -07:00
2012-09-22 10:29:19 +01:00
2012-08-13 14:34:02 +08:00
2012-09-04 13:58:11 -04:00
2012-09-13 16:37:52 -04:00
2012-07-09 16:42:24 -04:00
2012-08-27 17:07:37 -07:00
2012-08-28 10:08:31 +02:00
2012-09-06 09:22:02 -04:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00