diff options
author | Jiri Pirko <jpirko@redhat.com> | 2009-05-12 18:40:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-17 14:59:53 -0400 |
commit | a186d2aead8beb164ddb76245d189c66f7021b59 (patch) | |
tree | 6d5ba9e9782313e21a43e7cac7ab439ee951ccef /net/llc | |
parent | 3699a1c7d42f9a694bb512d91ca457f363a48e38 (diff) |
net: remove needless (now buggy) & from dev->dev_addr (part2)
Missed part of "&" removal.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
-rw-r--r-- | net/llc/af_llc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index febae702685c..9208cf5f2bd5 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c | |||
@@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, | |||
935 | 935 | ||
936 | if (llc->dev) { | 936 | if (llc->dev) { |
937 | sllc.sllc_arphrd = llc->dev->type; | 937 | sllc.sllc_arphrd = llc->dev->type; |
938 | memcpy(&sllc.sllc_mac, &llc->dev->dev_addr, | 938 | memcpy(&sllc.sllc_mac, llc->dev->dev_addr, |
939 | IFHWADDRLEN); | 939 | IFHWADDRLEN); |
940 | } | 940 | } |
941 | } | 941 | } |