Skip to content

Commit

Permalink
[PATCH] drivers/ide/ide-io.c: make __ide_end_request() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 3, 2006
1 parent 6842f8c commit a7ff7d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions drivers/ide/ide-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -91,7 +91,6 @@ int __ide_end_request(ide_drive_t *drive, struct request *rq, int uptodate,

return ret;
}
EXPORT_SYMBOL(__ide_end_request);

/**
* ide_end_request - complete an IDE I/O
Expand Down
1 change: 0 additions & 1 deletion include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,6 @@ extern ide_hwif_t ide_hwifs[]; /* master data repository */
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
Expand Down

0 comments on commit a7ff7d4

Please sign in to comment.