* [RFC: 2.6 patch] drivers/ide/ide-io.c: make __ide_end_request() static
@ 2006-01-19 22:10 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-01-19 22:10 UTC (permalink / raw)
To: Andrew Morton; +Cc: B.Zolnierkiewicz, linux-kernel, linux-ide
Since there's no longer any external user, we can make
__ide_end_request() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 7 Jan 2006
drivers/ide/ide-io.c | 5 ++---
include/linux/ide.h | 1 -
2 files changed, 2 insertions(+), 4 deletions(-)
--- linux-2.6.15-mm2-full/include/linux/ide.h.old 2006-01-07 17:49:26.000000000 +0100
+++ linux-2.6.15-mm2-full/include/linux/ide.h 2006-01-07 17:49:31.000000000 +0100
@@ -1000,7 +1000,6 @@
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
--- linux-2.6.15-mm2-full/drivers/ide/ide-io.c.old 2006-01-07 17:49:38.000000000 +0100
+++ linux-2.6.15-mm2-full/drivers/ide/ide-io.c 2006-01-07 17:50:13.000000000 +0100
@@ -55,8 +55,8 @@
#include <asm/io.h>
#include <asm/bitops.h>
-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;
@@ -94,7 +94,6 @@
}
return ret;
}
-EXPORT_SYMBOL(__ide_end_request);
/**
* ide_end_request - complete an IDE I/O
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC: 2.6 patch] drivers/ide/ide-io.c: make __ide_end_request() static
@ 2006-01-07 18:14 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-01-07 18:14 UTC (permalink / raw)
To: B.Zolnierkiewicz; +Cc: linux-kernel, linux-ide
Since there's no longer any external user, we can make
__ide_end_request() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/ide/ide-io.c | 5 ++---
include/linux/ide.h | 1 -
2 files changed, 2 insertions(+), 4 deletions(-)
--- linux-2.6.15-mm2-full/include/linux/ide.h.old 2006-01-07 17:49:26.000000000 +0100
+++ linux-2.6.15-mm2-full/include/linux/ide.h 2006-01-07 17:49:31.000000000 +0100
@@ -1000,7 +1000,6 @@
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
--- linux-2.6.15-mm2-full/drivers/ide/ide-io.c.old 2006-01-07 17:49:38.000000000 +0100
+++ linux-2.6.15-mm2-full/drivers/ide/ide-io.c 2006-01-07 17:50:13.000000000 +0100
@@ -55,8 +55,8 @@
#include <asm/io.h>
#include <asm/bitops.h>
-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;
@@ -94,7 +94,6 @@
}
return ret;
}
-EXPORT_SYMBOL(__ide_end_request);
/**
* ide_end_request - complete an IDE I/O
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-19 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-19 22:10 [RFC: 2.6 patch] drivers/ide/ide-io.c: make __ide_end_request() static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2006-01-07 18:14 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).