Commit 49302efb authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[ATM]: Do not use lvalue in assignment.

parent ab68e955
...@@ -148,7 +148,7 @@ int vcc_create(struct socket *sock, int protocol, int family) ...@@ -148,7 +148,7 @@ int vcc_create(struct socket *sock, int protocol, int family)
sk->sk_state_change = vcc_def_wakeup; sk->sk_state_change = vcc_def_wakeup;
sk->sk_write_space = vcc_write_space; sk->sk_write_space = vcc_write_space;
vcc = atm_sk(sk) = kmalloc(sizeof(*vcc), GFP_KERNEL); vcc = sk->sk_protinfo = kmalloc(sizeof(*vcc), GFP_KERNEL);
if (!vcc) { if (!vcc) {
sk_free(sk); sk_free(sk);
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment