[PATCH] docs: infiniband: fix bracket
From: Manuel Ebner
Date: Sat Jun 27 2026 - 05:38:04 EST
Remove needless ')'.
Signed-off-by: Manuel Ebner <manuelebner@xxxxxxxxxxx>
---
Documentation/infiniband/user_mad.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/infiniband/user_mad.rst b/Documentation/infiniband/user_mad.rst
index d88abfc0e370..cd66e7623d66 100644
--- a/Documentation/infiniband/user_mad.rst
+++ b/Documentation/infiniband/user_mad.rst
@@ -62,7 +62,7 @@ Receiving MADs
struct ib_user_mad *mad;
mad = malloc(sizeof *mad + 256);
ret = read(fd, mad, sizeof *mad + 256);
- if (ret == -ENOSPC)) {
+ if (ret == -ENOSPC) {
length = mad.length;
free(mad);
mad = malloc(sizeof *mad + length);
--
2.54.0