From: H Hartley Sweeten Date: Tue, 11 Sep 2012 02:04:57 +0000 (-0700) Subject: staging: comedi: adl_pci9111: remove unnecessary 'is_valid' X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~366 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893be483434a364f3a01127bdbfbdab8c5331501;p=pandora-kernel.git staging: comedi: adl_pci9111: remove unnecessary 'is_valid' The 'is_valid' variable in the private data is only used in the detach of the board to determine if the pci9111_reset() function can be called. That function only requires a valid dev->iobase to work. Use that for the check instead and remove the unneeded variable from the private data. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed