From: Adrian Bunk Since there's no longer any external user, we can make __ide_end_request() static. Signed-off-by: Adrian Bunk Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton --- drivers/ide/ide-io.c | 5 ++--- include/linux/ide.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff -puN drivers/ide/ide-io.c~drivers-ide-ide-ioc-make-__ide_end_request-static drivers/ide/ide-io.c --- 25/drivers/ide/ide-io.c~drivers-ide-ide-ioc-make-__ide_end_request-static Thu Jan 19 16:34:51 2006 +++ 25-akpm/drivers/ide/ide-io.c Thu Jan 19 16:34:51 2006 @@ -55,8 +55,8 @@ #include #include -int __ide_end_request(ide_drive_t *drive, struct request *rq, int uptodate, - int nr_sectors) +static int __ide_end_request(ide_drive_t *drive, struct request *rq, + int uptodate, int nr_sectors) { int ret = 1; @@ -91,7 +91,6 @@ int __ide_end_request(ide_drive_t *drive return ret; } -EXPORT_SYMBOL(__ide_end_request); /** * ide_end_request - complete an IDE I/O diff -puN include/linux/ide.h~drivers-ide-ide-ioc-make-__ide_end_request-static include/linux/ide.h --- 25/include/linux/ide.h~drivers-ide-ide-ioc-make-__ide_end_request-static Thu Jan 19 16:34:51 2006 +++ 25-akpm/include/linux/ide.h Thu Jan 19 16:34:51 2006 @@ -1005,7 +1005,6 @@ extern ide_hwif_t ide_hwifs[]; /* maste extern int noautodma; extern int ide_end_request (ide_drive_t *drive, int uptodate, int nrsecs); -extern int __ide_end_request (ide_drive_t *drive, struct request *rq, int uptodate, int nrsecs); /* * This is used on exit from the driver to designate the next irq handler _