aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/ieee1394_transactions.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-28 11:51:32 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-10-31 14:02:19 -0400
commit2ed45b07c957e37db88d7d3696b63eb79b0ef5ef (patch)
treedcb74cd8583bf7f35da7c365d475da3a03346acd /drivers/ieee1394/ieee1394_transactions.c
parent0bd243c4d93583cd8e1786c0bd6982f6f9f94ab6 (diff)
ieee1394: ieee1394_transactions.c: remove dead code
This patch removes dead code spotted by the Intel C Compiler. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/ieee1394_transactions.c')
-rw-r--r--drivers/ieee1394/ieee1394_transactions.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c
index c39c70a8aa9f..677989320951 100644
--- a/drivers/ieee1394/ieee1394_transactions.c
+++ b/drivers/ieee1394/ieee1394_transactions.c
@@ -235,7 +235,6 @@ int hpsb_packet_success(struct hpsb_packet *packet)
235 packet->node_id); 235 packet->node_id);
236 return -EAGAIN; 236 return -EAGAIN;
237 } 237 }
238 BUG();
239 238
240 case ACK_BUSY_X: 239 case ACK_BUSY_X:
241 case ACK_BUSY_A: 240 case ACK_BUSY_A:
@@ -282,7 +281,6 @@ int hpsb_packet_success(struct hpsb_packet *packet)
282 packet->ack_code, packet->node_id, packet->tcode); 281 packet->ack_code, packet->node_id, packet->tcode);
283 return -EAGAIN; 282 return -EAGAIN;
284 } 283 }
285 BUG();
286} 284}
287 285
288struct hpsb_packet *hpsb_make_readpacket(struct hpsb_host *host, nodeid_t node, 286struct hpsb_packet *hpsb_make_readpacket(struct hpsb_host *host, nodeid_t node,