tg3: Remove unused cfgspc device members
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 22 Dec 2008 04:19:57 +0000 (20:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Dec 2008 04:19:57 +0000 (20:19 -0800)
commit69fc405318967c7913e5b55cf3906250a26b49d0
tree9b885268fd7cf4d9f6170b8791b934bdd44bb2e3
parent027455adacdc142cc018e555ce391014fa227e70
tg3: Remove unused cfgspc device members

This patch removes the pci_bist and pci_hdr_type members from the
device structure and removes the code that references them.  They are
not really used.

The patch rounds out the changes by moving the pci_cmd member to plug
a structure hole that would have been created.  On 32-bit systems, this
movement removes a subsequent structure hole later in the structure. On
64-bit systems though, the movement merely consolidates two holes into
one larger hole.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h