diff options
author | David Matlack <dmatlack@google.com> | 2014-05-06 04:02:33 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-23 11:08:33 (GMT) |
commit | 563dce372fac66674c18a66777f0a01343a8e373 (patch) | |
tree | 4e5d08051ee72c6b7cb1c8a9d23566daba27e0bc /drivers/staging/slicoss/slic.h | |
parent | a286e34de0568903e93d54beb1c62ce19f1b5031 (diff) | |
download | linux-563dce372fac66674c18a66777f0a01343a8e373.tar.xz |
staging: slicoss: remove unused members of struct adapter
This patch removes two fields from the private "struct adapter".
Specifically,
memorybase duplicate of slic_regs
memorylength written once and never read. This field is trivially
computed with pci_resource_len if it's ever needed in
the future.
Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/slicoss/slic.h')
-rw-r--r-- | drivers/staging/slicoss/slic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/slicoss/slic.h b/drivers/staging/slicoss/slic.h index 702902c..379c4f7 100644 --- a/drivers/staging/slicoss/slic.h +++ b/drivers/staging/slicoss/slic.h @@ -420,8 +420,6 @@ struct adapter { ushort devid; ushort subsysid; u32 irq; - void __iomem *memorybase; - u32 memorylength; u32 drambase; u32 dramlength; uint queues_initialized; |