ide-tape: simplify read/write functions
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:03 +0000 (08:46 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:03 +0000 (08:46 +0900)
Impact: cleanup

idetape_chrdev_read/write() functions are unnecessarily complex when
everything can be handled in a single loop.  Collapse
idetape_add_chrdev_read/write_request() into the rw functions and
simplify the implementation.

Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found