From: H Hartley Sweeten Date: Mon, 24 Sep 2012 20:22:50 +0000 (-0700) Subject: staging: comedi: s626: remove unneeded local variable in attach_pci() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41f821d07729d1c3d59d1ebebf4c57e2ffe0a37c;p=pandora-kernel.git staging: comedi: s626: remove unneeded local variable in attach_pci() The 'result' variable is only used to check the return from comedi_pci_enable(). Just reuse the 'ret' variable. Also, remove the kernel noise and use the error code from comedi_pci_enable() instead of returning -ENODEV. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed