summaryrefslogtreecommitdiff
path: root/drivers/staging/wlags49_h2
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-09-10 19:04:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-10 20:08:02 -0700
commit893be483434a364f3a01127bdbfbdab8c5331501 (patch)
tree6396de53dbac7364ec19563ed0df56cea45bdfb0 /drivers/staging/wlags49_h2
parenteba16272d1e5b17788bacfb64194b79e3a6b25a3 (diff)
downloadlinux-3.10-893be483434a364f3a01127bdbfbdab8c5331501.tar.gz
linux-3.10-893be483434a364f3a01127bdbfbdab8c5331501.tar.bz2
linux-3.10-893be483434a364f3a01127bdbfbdab8c5331501.zip
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2')
0 files changed, 0 insertions, 0 deletions