aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2006-01-14 16:20:43 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-14 21:27:06 -0500
commit858119e159384308a5dde67776691a2ebf70df0f (patch)
treef360768f999d51edc0863917ce0bf79e88c0ec4c /drivers/ide/ide-cd.c
parentb0a9499c3dd50d333e2aedb7e894873c58da3785 (diff)
[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index ef09a7ef2396..3325660f7248 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -980,7 +980,7 @@ static void cdrom_buffer_sectors (ide_drive_t *drive, unsigned long sector,
980 * and attempt to recover if there are problems. Returns 0 if everything's 980 * and attempt to recover if there are problems. Returns 0 if everything's
981 * ok; nonzero if the request has been terminated. 981 * ok; nonzero if the request has been terminated.
982 */ 982 */
983static inline 983static
984int cdrom_read_check_ireason (ide_drive_t *drive, int len, int ireason) 984int cdrom_read_check_ireason (ide_drive_t *drive, int len, int ireason)
985{ 985{
986 if (ireason == 2) 986 if (ireason == 2)
@@ -1539,7 +1539,7 @@ int cdrom_queue_packet_command(ide_drive_t *drive, struct request *rq)
1539/* 1539/*
1540 * Write handling 1540 * Write handling
1541 */ 1541 */
1542static inline int cdrom_write_check_ireason(ide_drive_t *drive, int len, int ireason) 1542static int cdrom_write_check_ireason(ide_drive_t *drive, int len, int ireason)
1543{ 1543{
1544 /* Two notes about IDE interrupt reason here - 0 means that 1544 /* Two notes about IDE interrupt reason here - 0 means that
1545 * the drive wants to receive data from us, 2 means that 1545 * the drive wants to receive data from us, 2 means that