OSDN Git Service

staging: dgnc: delete is_pci_express board type variable.
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Jan 2018 20:00:04 +0000 (21:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 14:02:56 +0000 (15:02 +0100)
commit1d9bc2604cdd2fca1b23fcb6f1c9f5a36475689a
treed0898c881cf73f6c50d3253e75d3be1bfa1e4d76
parent874e0ebebb860e93a0f80e8021d7fc41847b586c
staging: dgnc: delete is_pci_express board type variable.

It was only set, and never looked at, so drop the thing as no one cares
about it.  And when it was set, it was not even set correctly, the index
it was using to read from was incorrect, so this has never even been
correct...

Cc: Lidza Louina <lidza.louina@gmail.com>
Cc: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_driver.h