]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mei: client.h fix checkpatch errors
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 17 Mar 2014 21:57:23 +0000 (23:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 22:57:43 +0000 (15:57 -0700)
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>
drivers/misc/mei/client.h

index 81393938ad06d7d70b1a76f778445c426540be4a..96d5de0389f9471e1ff7cb8ca4843d64ded0c7f9 100644 (file)
@@ -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);