projects/linux·commit d974837a

[PATCH] kernel/resource.c: __check_region(): remove pointless __deprecated

d974837a · Adrian Bunk <[email protected]> · 2006-01-09 20:54:49 -08:00

If a __deprecated is desired it should go to the prototype in the header
(where it currently isn't).

But at this place it's pointless.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
d974837ae076101d33a59eefc6bfef923eaa0e32
Parents
51d53bd3

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/resource.cmodified+1−1View file

kernel/resource.c

View file
diff --git a/kernel/resource.c b/kernel/resource.c
index 92285d8..e3080fc 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -464,7 +464,7 @@ struct resource * __request_region(struct resource *parent, unsigned long start,
EXPORT_SYMBOL(__request_region);
-int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
+int __check_region(struct resource *parent, unsigned long start, unsigned long n)
{
struct resource * res;