]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/misc/vmw_vmci/vmci_queue_pair.h
Merge tag 'v3.12-rc3' into irq/core
[linux-beck.git] / drivers / misc / vmw_vmci / vmci_queue_pair.h
index 58c6959f6b6d323c2cae456dc4f7f268883baa27..ed177f04ef2442d50d26005acf6e4d50685f98cf 100644 (file)
@@ -146,24 +146,6 @@ VMCI_QP_PAGESTORE_IS_WELLFORMED(struct vmci_qp_page_store *page_store)
        return page_store->len >= 2;
 }
 
-/*
- * Helper function to check if the non-blocking flag
- * is set for a given queue pair.
- */
-static inline bool vmci_can_block(u32 flags)
-{
-       return !(flags & VMCI_QPFLAG_NONBLOCK);
-}
-
-/*
- * Helper function to check if the queue pair is pinned
- * into memory.
- */
-static inline bool vmci_qp_pinned(u32 flags)
-{
-       return flags & VMCI_QPFLAG_PINNED;
-}
-
 void vmci_qp_broker_exit(void);
 int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer,
                         u32 flags, u32 priv_flags,