]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita425e0086b2dafb9cb13fbb5010f980ed0a220d7
tree9b885268fd7cf4d9f6170b8791b934bdd44bb2e3
parent8d2204c9cb98d9a723881cfd6830f86e579cd838
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