diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-11-05 13:40:56 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-23 15:14:45 -0500 |
commit | f050a8abbda0efcd597c6b1825e3b9ce4d613383 (patch) | |
tree | 61421f0a7355f12babff81fb25c68470f4980f82 /drivers/char/agp/frontend.c | |
parent | 4af72e2865a23ac090884a421bd1a8b19e247a22 (diff) |
agp: kill agp_flush_chipset and corresponding ioctl
The intel drm calls the chipset functions now directly. Userspace
never called the corresponding ioctl, hence it can be killed, too.
Cc: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/char/agp/frontend.c')
-rw-r--r-- | drivers/char/agp/frontend.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/char/agp/frontend.c b/drivers/char/agp/frontend.c index 3cb4539a98b2..2e044338753c 100644 --- a/drivers/char/agp/frontend.c +++ b/drivers/char/agp/frontend.c | |||
@@ -957,13 +957,6 @@ static int agpioc_unbind_wrap(struct agp_file_private *priv, void __user *arg) | |||
957 | return agp_unbind_memory(memory); | 957 | return agp_unbind_memory(memory); |
958 | } | 958 | } |
959 | 959 | ||
960 | int agpioc_chipset_flush_wrap(struct agp_file_private *priv) | ||
961 | { | ||
962 | DBG(""); | ||
963 | agp_flush_chipset(agp_bridge); | ||
964 | return 0; | ||
965 | } | ||
966 | |||
967 | static long agp_ioctl(struct file *file, | 960 | static long agp_ioctl(struct file *file, |
968 | unsigned int cmd, unsigned long arg) | 961 | unsigned int cmd, unsigned long arg) |
969 | { | 962 | { |
@@ -1039,7 +1032,6 @@ static long agp_ioctl(struct file *file, | |||
1039 | break; | 1032 | break; |
1040 | 1033 | ||
1041 | case AGPIOC_CHIPSET_FLUSH: | 1034 | case AGPIOC_CHIPSET_FLUSH: |
1042 | ret_val = agpioc_chipset_flush_wrap(curr_priv); | ||
1043 | break; | 1035 | break; |
1044 | } | 1036 | } |
1045 | 1037 | ||