aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_kernel.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h
index 412480d1109f..751648222825 100644
--- a/drivers/infiniband/hw/ipath/ipath_kernel.h
+++ b/drivers/infiniband/hw/ipath/ipath_kernel.h
@@ -723,13 +723,8 @@ u64 ipath_read_kreg64_port(const struct ipath_devdata *, ipath_kreg,
723 * @port: port number 723 * @port: port number
724 * 724 *
725 * Return the contents of a register that is virtualized to be per port. 725 * Return the contents of a register that is virtualized to be per port.
726 * Prints a debug message and returns -1 on errors (not distinguishable from 726 * Returns -1 on errors (not distinguishable from valid contents at
727 * valid contents at runtime; we may add a separate error variable at some 727 * runtime; we may add a separate error variable at some point).
728 * point).
729 *
730 * This is normally not used by the kernel, but may be for debugging, and
731 * has a different implementation than user mode, which is why it's not in
732 * _common.h.
733 */ 728 */
734static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd, 729static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd,
735 ipath_ureg regno, int port) 730 ipath_ureg regno, int port)