From: H Hartley Sweeten Date: Thu, 23 May 2013 19:52:37 +0000 (-0700) Subject: staging: comedi: usbduxsigma: remove private data sanity checks X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~455 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd2d33ee88cc8b1b2cd65baa4381a1c1a5ca747;p=pandora-kernel.git staging: comedi: usbduxsigma: remove private data sanity checks The comedi functions in this driver can only be called if the (*auto_attach) successfull kzalloc'ed the private data and set dev->private. The extra sanity checks are not needed. Remove them. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed