[ofa-general] [PATCH 5/6] IB/ipath - fix a minor code style violation

Ralph Campbell ralph.campbell at qlogic.com
Tue Mar 18 17:24:06 PDT 2008


From: Arthur Jones <arthur.jones at qlogic.com>

This patch fixes a minor code style violation.

Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>
---

 drivers/infiniband/hw/ipath/ipath_sysfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/ipath/ipath_sysfs.c b/drivers/infiniband/hw/ipath/ipath_sysfs.c
index bb41c3f..58c2805 100644
--- a/drivers/infiniband/hw/ipath/ipath_sysfs.c
+++ b/drivers/infiniband/hw/ipath/ipath_sysfs.c
@@ -1131,7 +1131,7 @@ int ipath_device_create_group(struct device *dev, struct ipath_devdata *dd)
 			goto bail_max;
 	}
 
-	return 0;
+	goto bail;
 
 bail_max:
 	device_remove_file(dev, &dev_attr_jint_max_packets);




More information about the general mailing list