mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user