diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-03-17 17:57:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 18:57:43 -0400 |
commit | 1adc16743313688ba69d19d9a445c60affc66ef9 (patch) | |
tree | 611383315a3d301d13a3d6649f242edc7b998aee | |
parent | 46922186978848d3e555330d462ce89b4e0dfcfc (diff) |
mei: client.h fix checkpatch errors
Fix checkpatch error
return is not a function, parentheses are not required
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/misc/mei/client.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index 81393938ad06..96d5de0389f9 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h | |||
@@ -68,15 +68,15 @@ int mei_cl_flow_ctrl_reduce(struct mei_cl *cl); | |||
68 | */ | 68 | */ |
69 | static inline bool mei_cl_is_connected(struct mei_cl *cl) | 69 | static inline bool mei_cl_is_connected(struct mei_cl *cl) |
70 | { | 70 | { |
71 | return (cl->dev && | 71 | return cl->dev && |
72 | cl->dev->dev_state == MEI_DEV_ENABLED && | 72 | cl->dev->dev_state == MEI_DEV_ENABLED && |
73 | cl->state == MEI_FILE_CONNECTED); | 73 | cl->state == MEI_FILE_CONNECTED; |
74 | } | 74 | } |
75 | static inline bool mei_cl_is_transitioning(struct mei_cl *cl) | 75 | static inline bool mei_cl_is_transitioning(struct mei_cl *cl) |
76 | { | 76 | { |
77 | return (MEI_FILE_INITIALIZING == cl->state || | 77 | return MEI_FILE_INITIALIZING == cl->state || |
78 | MEI_FILE_DISCONNECTED == cl->state || | 78 | MEI_FILE_DISCONNECTED == cl->state || |
79 | MEI_FILE_DISCONNECTING == cl->state); | 79 | MEI_FILE_DISCONNECTING == cl->state; |
80 | } | 80 | } |
81 | 81 | ||
82 | bool mei_cl_is_other_connecting(struct mei_cl *cl); | 82 | bool mei_cl_is_other_connecting(struct mei_cl *cl); |