aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-05-24 10:46:10 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-07-14 07:06:03 -0400
commitbbf094cf3dbd9a969dd17cf52325e9fab8dfbe91 (patch)
tree3f77b6cb4fb5587cb10d735e96404d5d1386f64d /drivers
parente534fe16b987780744da351acece2a4699783096 (diff)
firewire: remove unused struct members
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firewire/fw-card.c1
-rw-r--r--drivers/firewire/fw-device.h1
-rw-r--r--drivers/firewire/fw-ohci.c1
-rw-r--r--drivers/firewire/fw-transaction.h2
4 files changed, 0 insertions, 5 deletions
diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c
index 96340ce690d4..1332b66ae0b3 100644
--- a/drivers/firewire/fw-card.c
+++ b/drivers/firewire/fw-card.c
@@ -497,7 +497,6 @@ dummy_enable_phys_dma(struct fw_card *card,
497} 497}
498 498
499static struct fw_card_driver dummy_driver = { 499static struct fw_card_driver dummy_driver = {
500 .name = "dummy",
501 .enable = dummy_enable, 500 .enable = dummy_enable,
502 .update_phy_reg = dummy_update_phy_reg, 501 .update_phy_reg = dummy_update_phy_reg,
503 .set_config_rom = dummy_set_config_rom, 502 .set_config_rom = dummy_set_config_rom,
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h
index 5f131f5129da..42305bbac72f 100644
--- a/drivers/firewire/fw-device.h
+++ b/drivers/firewire/fw-device.h
@@ -62,7 +62,6 @@ struct fw_device {
62 bool cmc; 62 bool cmc;
63 struct fw_card *card; 63 struct fw_card *card;
64 struct device device; 64 struct device device;
65 struct list_head link;
66 struct list_head client_list; 65 struct list_head client_list;
67 u32 *config_rom; 66 u32 *config_rom;
68 size_t config_rom_length; 67 size_t config_rom_length;
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 0b66306af479..333b12544dd1 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -2292,7 +2292,6 @@ ohci_queue_iso(struct fw_iso_context *base,
2292} 2292}
2293 2293
2294static const struct fw_card_driver ohci_driver = { 2294static const struct fw_card_driver ohci_driver = {
2295 .name = ohci_driver_name,
2296 .enable = ohci_enable, 2295 .enable = ohci_enable,
2297 .update_phy_reg = ohci_update_phy_reg, 2296 .update_phy_reg = ohci_update_phy_reg,
2298 .set_config_rom = ohci_set_config_rom, 2297 .set_config_rom = ohci_set_config_rom,
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index f3a493d596cc..7e928e86022f 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -352,8 +352,6 @@ int
352fw_iso_context_stop(struct fw_iso_context *ctx); 352fw_iso_context_stop(struct fw_iso_context *ctx);
353 353
354struct fw_card_driver { 354struct fw_card_driver {
355 const char *name;
356
357 /* 355 /*
358 * Enable the given card with the given initial config rom. 356 * Enable the given card with the given initial config rom.
359 * This function is expected to activate the card, and either 357 * This function is expected to activate the card, and either