diff options
Diffstat (limited to 'drivers/firewire/core-card.c')
-rw-r--r-- | drivers/firewire/core-card.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/firewire/core-card.c b/drivers/firewire/core-card.c index ba6cd70b8518..4c1be64fdddd 100644 --- a/drivers/firewire/core-card.c +++ b/drivers/firewire/core-card.c | |||
@@ -190,12 +190,6 @@ void fw_core_remove_descriptor(struct fw_descriptor *desc) | |||
190 | mutex_unlock(&card_mutex); | 190 | mutex_unlock(&card_mutex); |
191 | } | 191 | } |
192 | 192 | ||
193 | static int set_broadcast_channel(struct device *dev, void *data) | ||
194 | { | ||
195 | fw_device_set_broadcast_channel(fw_device(dev), (long)data); | ||
196 | return 0; | ||
197 | } | ||
198 | |||
199 | static void allocate_broadcast_channel(struct fw_card *card, int generation) | 193 | static void allocate_broadcast_channel(struct fw_card *card, int generation) |
200 | { | 194 | { |
201 | int channel, bandwidth = 0; | 195 | int channel, bandwidth = 0; |
@@ -205,7 +199,7 @@ static void allocate_broadcast_channel(struct fw_card *card, int generation) | |||
205 | if (channel == 31) { | 199 | if (channel == 31) { |
206 | card->broadcast_channel_allocated = true; | 200 | card->broadcast_channel_allocated = true; |
207 | device_for_each_child(card->device, (void *)(long)generation, | 201 | device_for_each_child(card->device, (void *)(long)generation, |
208 | set_broadcast_channel); | 202 | fw_device_set_broadcast_channel); |
209 | } | 203 | } |
210 | } | 204 | } |
211 | 205 | ||