git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd243c
)
ieee1394: ieee1394_transactions.c: remove dead code
author
Adrian Bunk
<bunk@kernel.org>
Sun, 28 Oct 2007 15:51:32 +0000
(16:51 +0100)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Wed, 31 Oct 2007 18:02:19 +0000
(19:02 +0100)
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>
drivers/ieee1394/ieee1394_transactions.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/ieee1394_transactions.c
b/drivers/ieee1394/ieee1394_transactions.c
index
c39c70a
..
6779893
100644
(file)
--- a/
drivers/ieee1394/ieee1394_transactions.c
+++ b/
drivers/ieee1394/ieee1394_transactions.c
@@
-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,