Skip to content

Commit

Permalink
ieee1394: ieee1394_transactions.c: remove dead code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Stefan Richter committed Oct 31, 2007
1 parent 0bd243c commit 2ed45b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/ieee1394/ieee1394_transactions.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ int hpsb_packet_success(struct hpsb_packet *packet)
packet->node_id);
return -EAGAIN;
}
BUG();

case ACK_BUSY_X:
case ACK_BUSY_A:
Expand Down Expand Up @@ -282,7 +281,6 @@ int hpsb_packet_success(struct hpsb_packet *packet)
packet->ack_code, packet->node_id, packet->tcode);
return -EAGAIN;
}
BUG();
}

struct hpsb_packet *hpsb_make_readpacket(struct hpsb_host *host, nodeid_t node,
Expand Down

0 comments on commit 2ed45b0

Please sign in to comment.