From: H Hartley Sweeten Date: Mon, 18 Jun 2012 18:18:25 +0000 (-0700) Subject: staging: comedi: remove unneeded sanity check in insn_bits functions X-Git-Tag: v3.6-rc1~100^2~723 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=520706607befd1f5c20ec14db35d6be45791bc41;p=pandora-kernel.git staging: comedi: remove unneeded sanity check in insn_bits functions The comedi core does the sanity check to make sure that the data length the INSN_BITS instruction is 2. There is no need for the drivers to do this check. Remove all the sanity checks in the drivers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed