diff options
author | Roel Kluin <[email protected]> | 2009-06-23 01:06:40 +0200 |
---|---|---|
committer | James Bottomley <[email protected]> | 2009-06-25 11:08:23 -0500 |
commit | 87a2d34b0372dcf6bc4caf4d97a7889f5e62a1af (patch) | |
tree | 534c1842d1321629e12149a69ff032f5585c8139 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | e08afeb7e69f45e4ab9fbb8530fe433484b96606 (diff) |
[SCSI] fnic: remove redundant BUG_ONs and fix checks on unsigned
The shost sg tablesize is set to FNIC_MAX_SG_DESC_CNT and fnic uses
scsi_dma_map, so both BUG_ONs can be removed.
scsi_dma_map may return -ENOMEM, sg_count should be int to catch that.
Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions