projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libceph: drop unnecessary check from dispatch() in mon_client.c
[linux-2.6-block.git]
/
net
/
ceph
/
mon_client.c
diff --git
a/net/ceph/mon_client.c
b/net/ceph/mon_client.c
index 7256c402ebaa32961265d295432df4569fbc6708..9d9e4e4ea600ee08e4cadd8eefb08ad786fe6e65 100644
(file)
--- a/
net/ceph/mon_client.c
+++ b/
net/ceph/mon_client.c
@@
-1233,9
+1233,6
@@
static void dispatch(struct ceph_connection *con, struct ceph_msg *msg)
struct ceph_mon_client *monc = con->private;
int type = le16_to_cpu(msg->hdr.type);
- if (!monc)
- return;
-
switch (type) {
case CEPH_MSG_AUTH_REPLY:
handle_auth_reply(monc, msg);