mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
0bd243c4d9
commit
2ed45b07c9
|
@ -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:
|
||||
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue