From: H Hartley Sweeten Date: Wed, 19 Dec 2012 22:40:34 +0000 (-0700) Subject: staging: comedi: comedi_fops: remove the goto's in comedi_write() X-Git-Tag: v3.9-rc1~127^2~527 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2714b019fd570309e9a4cab2b988cbb7a36bbecd;p=pandora-kernel.git staging: comedi: comedi_fops: remove the goto's in comedi_write() Use comedi_dev_from_minor() to simplify the return -ENODEV tests. Cleanup the sanity checking a bit and remove the need for the goto's when returning an initial error condition. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed