aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-02-24 12:59:55 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-04-18 11:55:31 -0400
commitbd7dee6311156b7cdf884344feb34628909398ad (patch)
tree669b5747c607266e495e6f1b1516663bdca1152a /drivers/firewire/fw-transaction.h
parenta6ca4f7081095e3cdeb1a45d66fbe4856eca10d3 (diff)
firewire: remove superfluous reference counting
The card->kref became obsolete since patch "firewire: fix crash in automatic module unloading" added another counter of card users. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Jarod Wilson <jwilson@redhat.com>
Diffstat (limited to 'drivers/firewire/fw-transaction.h')
-rw-r--r--drivers/firewire/fw-transaction.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index a43bb22912f9..1a22a23e4596 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -221,7 +221,6 @@ struct fw_card {
221 const struct fw_card_driver *driver; 221 const struct fw_card_driver *driver;
222 struct device *device; 222 struct device *device;
223 atomic_t device_count; 223 atomic_t device_count;
224 struct kref kref;
225 224
226 int node_id; 225 int node_id;
227 int generation; 226 int generation;
@@ -263,9 +262,6 @@ struct fw_card {
263 int bm_generation; 262 int bm_generation;
264}; 263};
265 264
266struct fw_card *fw_card_get(struct fw_card *card);
267void fw_card_put(struct fw_card *card);
268
269/* 265/*
270 * The iso packet format allows for an immediate header/payload part 266 * The iso packet format allows for an immediate header/payload part
271 * stored in 'header' immediately after the packet info plus an 267 * stored in 'header' immediately after the packet info plus an