]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: cleanup ide_disk_init_mult_count()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:18 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:18 +0000 (22:39 +0200)
commitdf1f8378c2fd898fa08be5d72283d68c77f519e9
tree986612db7f25f1d39ff8affdbaecc714674a090c
parentf8881000d7cc6b8b520e8fcba95177d2cde1ae36
ide: cleanup ide_disk_init_mult_count()

* Remove superfluous checks for drive->mult_req.

* No need to zero drive's fields.

* Move the common code out of #ifdef scope.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c