staging: comedi: c6xdigio: remove C6XDIGIO_SIZE

This define is only used in the comedi_request_region() call and does
not add any additional clarity to the code. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten 2014-03-10 14:07:24 -07:00 committed by Greg Kroah-Hartman
parent 5afa3c5450
commit 2ec577ce84
1 changed files with 1 additions and 3 deletions

View File

@ -43,8 +43,6 @@ http://robot0.ge.uiuc.edu/~spong/mecha/
#include "../comedidev.h"
#define C6XDIGIO_SIZE 3
/*
* port offsets
*/
@ -356,7 +354,7 @@ static int c6xdigio_attach(struct comedi_device *dev,
struct comedi_subdevice *s;
int ret;
ret = comedi_request_region(dev, it->options[0], C6XDIGIO_SIZE);
ret = comedi_request_region(dev, it->options[0], 0x03);
if (ret)
return ret;