scst.h: Do not surround return statement expressions with parentheses

This avoids that checkpatch reports "return is not a function".


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6528 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-10-02 16:10:35 +00:00
parent 6124bf0608
commit 50848fb0c4

View File

@@ -885,7 +885,7 @@ enum scst_dif_actions {
/* Returns DIF checks by stripping the action part from a */
static inline enum scst_dif_actions scst_get_dif_checks(enum scst_dif_actions a)
{
return (a & SCST_DIF_CHECKS_MASK);
return a & SCST_DIF_CHECKS_MASK;
}
/* Sets the DIF checks part in a */
@@ -900,7 +900,7 @@ static inline void scst_set_dif_checks(enum scst_dif_actions *a,
/* Returns DIF action by stripping the checks part from a */
static inline enum scst_dif_actions scst_get_dif_action(enum scst_dif_actions a)
{
return (a & SCST_DIF_ACTION_MASK);
return a & SCST_DIF_ACTION_MASK;
}
/* Sets the DIF action part in a */