From: H Hartley Sweeten Date: Fri, 22 Jun 2012 23:33:10 +0000 (-0700) Subject: staging: comedi: ni_daq_700: remove local variable in the 'attach' function X-Git-Tag: v3.6-rc1~100^2~614 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7448fcd3b8caee05c6e5a7dc965b5845affbb2e8;p=pandora-kernel.git staging: comedi: ni_daq_700: remove local variable in the 'attach' function There is no need for the local variable 'iobase' in the attach function. If it's '0' the attach fails otherwise the value is just stored in dev->iobase. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed