]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-cd: fold cdrom_start_seek into ide_cd_do_request
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 16 Jul 2008 18:33:46 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:46 +0000 (20:33 +0200)
commit4b01fcbbe69bba34a8494fca6376ac0804f0f51d
tree440a8b9939520dfe95c4dc4cc8ef205de66d7eff
parentb6ca440a8ff15e12478ea6f026a52970e7a0c54c
ide-cd: fold cdrom_start_seek into ide_cd_do_request

Do what the compiler does anyway: inline a function that is used only once.

This saves us the overhead of a function call and the function is small enough
to be embedded in the callsite anyways.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c