]> Git Repo - linux.git/blobdiff - net/rds/send.c
powerpc/powernv: Remove POWER9 PVR version check for entry and uaccess flushes
[linux.git] / net / rds / send.c
index fe5264b9d4b36aaebfc27b6f3354d750bf8e22d5..53444397de669b9beb0d85c3a14a7e7b5be07743 100644 (file)
@@ -665,7 +665,7 @@ static void rds_send_remove_from_sock(struct list_head *messages, int status)
 unlock_and_drop:
                spin_unlock_irqrestore(&rm->m_rs_lock, flags);
                rds_message_put(rm);
-               if (was_on_sock && rm)
+               if (was_on_sock)
                        rds_message_put(rm);
        }
 
@@ -1225,7 +1225,7 @@ int rds_sendmsg(struct socket *sock, struct msghdr *msg, size_t payload_len)
                }
                /* If the socket is already bound to a link local address,
                 * it can only send to peers on the same link.  But allow
-                * communicating beween link local and non-link local address.
+                * communicating between link local and non-link local address.
                 */
                if (scope_id != rs->rs_bound_scope_id) {
                        if (!scope_id) {
This page took 0.034241 seconds and 4 git commands to generate.