ide-atapi: compute cmd_len based on device type in ide_transfer_pc
authorBorislav Petkov <petkovbb@googlemail.com>
Fri, 2 Jan 2009 15:12:54 +0000 (16:12 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 2 Jan 2009 15:12:54 +0000 (16:12 +0100)
commit8c662852d1aa35ed370942ef2740759cd334d2d5
tree44e51c5dc24423933325881ffe6ffe0fe21ffda4
parent5317464dccd0c03026d60f1e9968de4f9cd23f69
ide-atapi: compute cmd_len based on device type in ide_transfer_pc

There should be no functionality change resulting from this patch.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
[bart: move cmd_len check closer to ->output_data() call]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c