Skip to contentSkip to conversation

firewire: remove unused struct members

PATCH New Stefan Richter 1 participant 1 message May 24, 2008 Firewire

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firewire: remove unused struct members

---
 drivers/firewire/fw-card.c        |    1 -
 drivers/firewire/fw-device.h      |    1 -
 drivers/firewire/fw-ohci.c        |    1 -
 drivers/firewire/fw-transaction.h |    2 --
 4 files changed, 5 deletions(-)
drivers/firewire/fw-card.c +0 -1
Index: linux/drivers/firewire/fw-card.c
===================================================================
@@ -497,7 +497,6 @@ dummy_enable_phys_dma(struct fw_card *ca
 }
 
 static struct fw_card_driver dummy_driver = {
-	.name            = "dummy",
 	.enable          = dummy_enable,
 	.update_phy_reg  = dummy_update_phy_reg,
 	.set_config_rom  = dummy_set_config_rom,
drivers/firewire/fw-device.h +0 -1
Index: linux/drivers/firewire/fw-device.h
===================================================================
@@ -62,7 +62,6 @@ struct fw_device {
 	bool cmc;
 	struct fw_card *card;
 	struct device device;
-	struct list_head link;
 	struct list_head client_list;
 	u32 *config_rom;
 	size_t config_rom_length;
drivers/firewire/fw-ohci.c +0 -1
Index: linux/drivers/firewire/fw-ohci.c
===================================================================
@@ -2290,7 +2290,6 @@ ohci_queue_iso(struct fw_iso_context *ba
 }
 
 static const struct fw_card_driver ohci_driver = {
-	.name			= ohci_driver_name,
 	.enable			= ohci_enable,
 	.update_phy_reg		= ohci_update_phy_reg,
 	.set_config_rom		= ohci_set_config_rom,
drivers/firewire/fw-transaction.h +0 -2
Index: linux/drivers/firewire/fw-transaction.h
===================================================================
@@ -361,8 +361,6 @@ int
 fw_iso_context_stop(struct fw_iso_context *ctx);
 
 struct fw_card_driver {
-	const char *name;
-
 	/*
 	 * Enable the given card with the given initial config rom.
 	 * This function is expected to activate the card, and either
Signature · 3 lines
Stefan Richter
-=====-==--- -=-= ==---
http://arcgraph.de/sr/