]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: cb_pcidas64: remove inline priv() function
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 15 Oct 2012 17:13:12 +0000 (10:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:57:57 +0000 (11:57 -0700)
commit681d335ab5819a5cca8b74bea06f2804d2cb5a81
treed31b36b92b21d2d3c81d3bac9ea3ede016827c8a
parentb776d05b9307972f079b56b6cbf74349a6451a53
staging: comedi: cb_pcidas64: remove inline priv() function

The inline priv() function simply returns the dev->private pointer
to the private data.

Remove the inline funciton and just use a local variable where the
private data is used.

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>
drivers/staging/comedi/drivers/cb_pcidas64.c