Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6030
b: refs/heads/master
c: 214838a
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and Jeff Garzik committed Aug 27, 2005
1 parent 7c5699e commit 09cb8f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84a2ea1c2cee0288f96e0c6aa4f975d4d26508c7
refs/heads/master: 214838a2108b4b1e18abce2e28d37996e9bf7c68
6 changes: 0 additions & 6 deletions trunk/drivers/net/hamradio/6pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,6 @@ static int sp_set_mac_address(struct net_device *dev, void *addr)
{
struct sockaddr_ax25 *sa = addr;

if (sa->sax25_family != AF_AX25)
return -EINVAL;

if (!sa->sax25_ndigis)
return -EINVAL;

spin_lock_irq(&dev->xmit_lock);
memcpy(dev->dev_addr, &sa->sax25_call, AX25_ADDR_LEN);
spin_unlock_irq(&dev->xmit_lock);
Expand Down

0 comments on commit 09cb8f5

Please sign in to comment.