staging: comedi: s526: remove unneeded check in s526_gpct_rinsn()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 19 Sep 2012 22:09:57 +0000 (15:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:19:42 +0000 (09:19 -0700)
commitd52f042ce5d64bbc56160e3653de064d380120c7
tree06068a4d70e1e21bd85214c5cb378b39fe70b861
parent898143bd1ac1550f3b2b2eaf397b13fc1d1889d1
staging: comedi: s526: remove unneeded check in s526_gpct_rinsn()

The comedi core validates insn->n before calling this function.
Remove the unnecessary check.

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/s526.c