net: remove needless (now buggy) & from dev->dev_addr (part2)
authorJiri Pirko <jpirko@redhat.com>
Tue, 12 May 2009 22:40:12 +0000 (22:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2009 18:59:53 +0000 (11:59 -0700)
Missed part of "&" removal.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/af_llc.c

index febae702685cf58726918601bc613caba15f3af6..9208cf5f2bd554fb4d66fba51c327bcc3d7a5aae 100644 (file)
@@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr,
 
                if (llc->dev) {
                        sllc.sllc_arphrd = llc->dev->type;
-                       memcpy(&sllc.sllc_mac, &llc->dev->dev_addr,
+                       memcpy(&sllc.sllc_mac, llc->dev->dev_addr,
                               IFHWADDRLEN);
                }
        }