Skip to contentSkip to conversation

docs: infiniband: fix bracket

PATCH Applied Manuel Ebner 3 participants 3 messages Jun 27 – Jul 2

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: infiniband: fix bracket

Remove needless ')'.

---
 Documentation/infiniband/user_mad.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/infiniband/user_mad.rst +1 -1
index d88abfc0e370..cd66e7623d66 100644
@@ -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);
Signature · 1 line
2.54.0
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Manuel Ebner

Remove needless ')'.

Thanks.

Quoted 17 lines
---
 Documentation/infiniband/user_mad.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/infiniband/user_mad.rst +1 -1
index d88abfc0e370..cd66e7623d66 100644
@@ -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);
Signature · 1 line
~Randy