diff options
Diffstat (limited to 'drivers/block/cpqarray.c')
-rw-r--r-- | drivers/block/cpqarray.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index 862b9abac0ae..b6ea2f0c7276 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c | |||
@@ -906,8 +906,7 @@ queue_next: | |||
906 | if (!creq) | 906 | if (!creq) |
907 | goto startio; | 907 | goto startio; |
908 | 908 | ||
909 | if (creq->nr_phys_segments > SG_MAX) | 909 | BUG_ON(creq->nr_phys_segments > SG_MAX); |
910 | BUG(); | ||
911 | 910 | ||
912 | if ((c = cmd_alloc(h,1)) == NULL) | 911 | if ((c = cmd_alloc(h,1)) == NULL) |
913 | goto startio; | 912 | goto startio; |