]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/block/pktcdvd.c
[PATCH] pktcdvd: BUG_ON cleanups
authorPeter Osterlund <petero2@telia.com>
Tue, 13 Sep 2005 08:25:29 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:31 +0000 (08:22 -0700)
commit610827dee82731c7be5a135d750d194ac56881a9
treedb2fb39a27e31a396c4a5b61dc2b42bbd79a121a
parent1107d2e0352769b9bde6a4877c295b9309cdb877
[PATCH] pktcdvd: BUG_ON cleanups

Remove some redundant BUG_ON() statements in pktcdvd and move one run-time
check to compile-time.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c
include/linux/pktcdvd.h