Fixed the following checkpatch complaint:
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 3 Oct 2009 13:16:03 +0000 (13:16 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 3 Oct 2009 13:16:03 +0000 (13:16 +0000)
ERROR: return is not a function, parentheses are not required

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1172 d57e44dd-8a1f-0410-8b47-8ef2f437770f

qla2x00t/qla_init.c

index a6001cf..126d7e8 100644 (file)
@@ -4182,14 +4182,14 @@ int qla2x00_issue_marker(scsi_qla_host_t *ha, int ha_locked)
        if (ha_locked) {
                if (__qla2x00_marker(ha, 0, 0, MK_SYNC_ALL) !=
                    QLA_SUCCESS)
-                       return (QLA_FUNCTION_FAILED);
+                       return QLA_FUNCTION_FAILED;
        } else {
                if (qla2x00_marker(ha, 0, 0, MK_SYNC_ALL) !=
                    QLA_SUCCESS)
-                       return (QLA_FUNCTION_FAILED);
+                       return QLA_FUNCTION_FAILED;
        }
        ha->marker_needed = 0;
-       return (QLA_SUCCESS);
+       return QLA_SUCCESS;
 }
 
 int qla2xxx_tgt_register_driver(struct qla_tgt_initiator *tgt_data,