summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-floppy.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-18 22:00:41 (GMT)
committerTejun Heo <tj@kernel.org>2009-04-18 22:00:41 (GMT)
commit1873b90cdea038715ec7140fccc2116fb930ffb5 (patch)
tree3431a3c61937ca8db8d535394bec57bb846c4de5 /drivers/ide/ide-floppy.c
parent46a802e852c2106d755f697819ea80cd3ffdc222 (diff)
downloadlinux-1873b90cdea038715ec7140fccc2116fb930ffb5.tar.xz
ide-cd: clear sense buffer before issuing request sense
Impact: code simplification ide_cd_request_sense_fixup() clears the tail of the sense buffer if the device didn't completely fill it. This patch makes cdrom_queue_request_sense() clear the sense buffer before issuing the command instead of clearing it afterwards. This simplifies code and eases future changes. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ide/ide-floppy.c')
0 files changed, 0 insertions, 0 deletions