projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ade0ed
)
avoid block in case statements unless necessary
author
Daniel Mack
<zonque@gmail.com>
Tue, 17 Dec 2013 19:22:13 +0000
(20:22 +0100)
committer
Daniel Mack
<zonque@gmail.com>
Tue, 17 Dec 2013 19:22:13 +0000
(20:22 +0100)
handle.c
patch
|
blob
|
history
diff --git
a/handle.c
b/handle.c
index 2d4f36812a6288b4cfd153953e3f9d32075aaac3..8d2c0fa328de0badd6764482d5ad1c7cfa4d8128 100644
(file)
--- a/
handle.c
+++ b/
handle.c
@@
-499,7
+499,7
@@
static long kdbus_handle_ioctl_ep_connected(struct file *file, unsigned int cmd,
break;
}
- case KDBUS_CMD_MSG_RECV:
{
+ case KDBUS_CMD_MSG_RECV:
/* receive a pointer to a queued message */
if (!KDBUS_IS_ALIGNED8((uintptr_t)buf)) {
ret = -EFAULT;
@@
-508,7
+508,6
@@
static long kdbus_handle_ioctl_ep_connected(struct file *file, unsigned int cmd,
ret = kdbus_conn_recv_msg(conn, buf);
break;
- }
case KDBUS_CMD_FREE: {
u64 off;