diff options
author | Borislav Petkov <bbpetkov@yahoo.de> | 2008-02-02 19:56:35 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 19:56:35 +0100 |
commit | 20bf7bdad443d473826832674230834654b31d0b (patch) | |
tree | 6bab53dad5839b04628c99a8486761d5dcb906f2 /drivers/acorn | |
parent | 194ec0c07895d8f8bf3ca8e50d5225f7968ad2d0 (diff) |
ide-floppy: factor out ioctl handlers from idefloppy_ioctl()
By passing idefloppy_floppy_t *floppy to the factored out functions, we get
rid of (almost) all local vars so stack usage should be at minimum here. Also,
we merge idefloppy_begin_format() into idefloppy_format_start() since it is its
only user. Also, rename idefloppy_format_start() to idefloppy_format_unit().
Finally, rename the reworked functions to ide_floppy..().
Bart
- minor CodingStyle fixup
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/acorn')
0 files changed, 0 insertions, 0 deletions