提交 bbf094cf 编写于 作者: S Stefan Richter

firewire: remove unused struct members

Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 e534fe16
...@@ -497,7 +497,6 @@ dummy_enable_phys_dma(struct fw_card *card, ...@@ -497,7 +497,6 @@ dummy_enable_phys_dma(struct fw_card *card,
} }
static struct fw_card_driver dummy_driver = { static struct fw_card_driver dummy_driver = {
.name = "dummy",
.enable = dummy_enable, .enable = dummy_enable,
.update_phy_reg = dummy_update_phy_reg, .update_phy_reg = dummy_update_phy_reg,
.set_config_rom = dummy_set_config_rom, .set_config_rom = dummy_set_config_rom,
......
...@@ -62,7 +62,6 @@ struct fw_device { ...@@ -62,7 +62,6 @@ struct fw_device {
bool cmc; bool cmc;
struct fw_card *card; struct fw_card *card;
struct device device; struct device device;
struct list_head link;
struct list_head client_list; struct list_head client_list;
u32 *config_rom; u32 *config_rom;
size_t config_rom_length; size_t config_rom_length;
......
...@@ -2292,7 +2292,6 @@ ohci_queue_iso(struct fw_iso_context *base, ...@@ -2292,7 +2292,6 @@ ohci_queue_iso(struct fw_iso_context *base,
} }
static const struct fw_card_driver ohci_driver = { static const struct fw_card_driver ohci_driver = {
.name = ohci_driver_name,
.enable = ohci_enable, .enable = ohci_enable,
.update_phy_reg = ohci_update_phy_reg, .update_phy_reg = ohci_update_phy_reg,
.set_config_rom = ohci_set_config_rom, .set_config_rom = ohci_set_config_rom,
......
...@@ -352,8 +352,6 @@ int ...@@ -352,8 +352,6 @@ int
fw_iso_context_stop(struct fw_iso_context *ctx); fw_iso_context_stop(struct fw_iso_context *ctx);
struct fw_card_driver { struct fw_card_driver {
const char *name;
/* /*
* Enable the given card with the given initial config rom. * Enable the given card with the given initial config rom.
* This function is expected to activate the card, and either * This function is expected to activate the card, and either
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册