Skip to content

Commit

Permalink
staging: comedi: gsc_hpdi: remove inline priv() function
Browse files Browse the repository at this point in the history
The inline priv() function simply returns the dev->private pointer
to the private data.

Remove the inline function 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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 681d335 commit aa3d947
Showing 1 changed file with 136 additions and 122 deletions.
Loading

0 comments on commit aa3d947

Please sign in to comment.