From: H Hartley Sweeten Date: Tue, 11 Sep 2012 22:08:37 +0000 (-0700) Subject: staging: comedi: adv_pci1710: remove unnecessary 'valid' X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~303 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398e6f1230160e614ef0f878725cdd5f51fda8cd;p=pandora-kernel.git staging: comedi: adv_pci1710: remove unnecessary 'valid' The 'valid' variable in the private data is only used in the detach of the board to determine if the pci1710_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