diff options
Diffstat (limited to 'drivers/char/agp/frontend.c')
-rw-r--r-- | drivers/char/agp/frontend.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/char/agp/frontend.c b/drivers/char/agp/frontend.c index 43412c03969e..2e044338753c 100644 --- a/drivers/char/agp/frontend.c +++ b/drivers/char/agp/frontend.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <linux/mm.h> | 39 | #include <linux/mm.h> |
40 | #include <linux/fs.h> | 40 | #include <linux/fs.h> |
41 | #include <linux/sched.h> | 41 | #include <linux/sched.h> |
42 | #include <linux/smp_lock.h> | ||
43 | #include <asm/uaccess.h> | 42 | #include <asm/uaccess.h> |
44 | #include <asm/pgtable.h> | 43 | #include <asm/pgtable.h> |
45 | #include "agp.h" | 44 | #include "agp.h" |
@@ -958,13 +957,6 @@ static int agpioc_unbind_wrap(struct agp_file_private *priv, void __user *arg) | |||
958 | return agp_unbind_memory(memory); | 957 | return agp_unbind_memory(memory); |
959 | } | 958 | } |
960 | 959 | ||
961 | int agpioc_chipset_flush_wrap(struct agp_file_private *priv) | ||
962 | { | ||
963 | DBG(""); | ||
964 | agp_flush_chipset(agp_bridge); | ||
965 | return 0; | ||
966 | } | ||
967 | |||
968 | static long agp_ioctl(struct file *file, | 960 | static long agp_ioctl(struct file *file, |
969 | unsigned int cmd, unsigned long arg) | 961 | unsigned int cmd, unsigned long arg) |
970 | { | 962 | { |
@@ -1040,7 +1032,6 @@ static long agp_ioctl(struct file *file, | |||
1040 | break; | 1032 | break; |
1041 | 1033 | ||
1042 | case AGPIOC_CHIPSET_FLUSH: | 1034 | case AGPIOC_CHIPSET_FLUSH: |
1043 | ret_val = agpioc_chipset_flush_wrap(curr_priv); | ||
1044 | break; | 1035 | break; |
1045 | } | 1036 | } |
1046 | 1037 | ||