RDMA/ucma: Check that device is connected prior to access it
[pandora-kernel.git] / drivers / char / agp / frontend.c
index 3cb4539..2e04433 100644 (file)
@@ -957,13 +957,6 @@ static int agpioc_unbind_wrap(struct agp_file_private *priv, void __user *arg)
        return agp_unbind_memory(memory);
 }
 
-int agpioc_chipset_flush_wrap(struct agp_file_private *priv)
-{
-       DBG("");
-       agp_flush_chipset(agp_bridge);
-       return 0;
-}
-
 static long agp_ioctl(struct file *file,
                     unsigned int cmd, unsigned long arg)
 {
@@ -1039,7 +1032,6 @@ static long agp_ioctl(struct file *file,
                break;
               
        case AGPIOC_CHIPSET_FLUSH:
-               ret_val = agpioc_chipset_flush_wrap(curr_priv);
                break;
        }