Avoid that checkpatch complains that return is not a function

Avoid that checkpatch reports the following error message:

ERROR: return is not a function, parentheses are not required


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5398 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-03-27 08:34:27 +00:00
parent b1587fa6eb
commit 610ec9cb10

View File

@@ -264,12 +264,12 @@ enum scst_cdb_flags {
static inline int scst_sense_valid(const uint8_t *sense)
{
return ((sense != NULL) && ((sense[0] & 0x70) == 0x70));
return (sense != NULL) && ((sense[0] & 0x70) == 0x70);
}
static inline int scst_no_sense(const uint8_t *sense)
{
return ((sense != NULL) && (sense[2] == 0));
return (sense != NULL) && (sense[2] == 0);
}
static inline int scst_sense_response_code(const uint8_t *sense)