瀏覽代碼

firewire: remove unused struct members

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Stefan Richter 17 年之前
父節點
當前提交
bbf094cf3d
共有 4 個文件被更改,包括 0 次插入5 次删除
  1. 0 1
      drivers/firewire/fw-card.c
  2. 0 1
      drivers/firewire/fw-device.h
  3. 0 1
      drivers/firewire/fw-ohci.c
  4. 0 2
      drivers/firewire/fw-transaction.h

+ 0 - 1
drivers/firewire/fw-card.c

@@ -497,7 +497,6 @@ dummy_enable_phys_dma(struct fw_card *card,
 }
 
 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,

+ 0 - 1
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;

+ 0 - 1
drivers/firewire/fw-ohci.c

@@ -2292,7 +2292,6 @@ ohci_queue_iso(struct fw_iso_context *base,
 }
 
 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,

+ 0 - 2
drivers/firewire/fw-transaction.h

@@ -352,8 +352,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