Skip to contentSkip to conversation

mei: client.h fix checkpatch errors

PATCH New Tomas Winkler 1 participant 1 message Mar 17, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 3/5 mei: client.h fix checkpatch errors

Fix checkpatch error
return is not a function, parentheses are not required

---
V2: fix typo in the commit message
checkpetch -> checkpatch

 drivers/misc/mei/client.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/misc/mei/client.h +4 -4
index 8139393..96d5de0 100644
@@ -68,15 +68,15 @@ int mei_cl_flow_ctrl_reduce(struct mei_cl *cl);
  */
 static inline bool mei_cl_is_connected(struct mei_cl *cl)
 {
-	return (cl->dev &&
+	return  cl->dev &&
 		cl->dev->dev_state == MEI_DEV_ENABLED &&
-		cl->state == MEI_FILE_CONNECTED);
+		cl->state == MEI_FILE_CONNECTED;
 }
 static inline bool mei_cl_is_transitioning(struct mei_cl *cl)
 {
-	return (MEI_FILE_INITIALIZING == cl->state ||
+	return  MEI_FILE_INITIALIZING == cl->state ||
 		MEI_FILE_DISCONNECTED == cl->state ||
-		MEI_FILE_DISCONNECTING == cl->state);
+		MEI_FILE_DISCONNECTING == cl->state;
 }
 
 bool mei_cl_is_other_connecting(struct mei_cl *cl);
Signature · 1 line
1.8.5.3