Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] drivers/ide/ide-io.c: make __ide_end_request() static

Since there's no longer any external user, we can make __ide_end_request()
static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Adrian Bunk and committed by
Linus Torvalds
a7ff7d41 6842f8c8

+2 -4
+2 -3
drivers/ide/ide-io.c
··· 55 55 #include <asm/io.h> 56 56 #include <asm/bitops.h> 57 57 58 - int __ide_end_request(ide_drive_t *drive, struct request *rq, int uptodate, 59 - int nr_sectors) 58 + static int __ide_end_request(ide_drive_t *drive, struct request *rq, 59 + int uptodate, int nr_sectors) 60 60 { 61 61 int ret = 1; 62 62 ··· 91 91 92 92 return ret; 93 93 } 94 - EXPORT_SYMBOL(__ide_end_request); 95 94 96 95 /** 97 96 * ide_end_request - complete an IDE I/O
-1
include/linux/ide.h
··· 1005 1005 extern int noautodma; 1006 1006 1007 1007 extern int ide_end_request (ide_drive_t *drive, int uptodate, int nrsecs); 1008 - extern int __ide_end_request (ide_drive_t *drive, struct request *rq, int uptodate, int nrsecs); 1009 1008 1010 1009 /* 1011 1010 * This is used on exit from the driver to designate the next irq handler