diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
commit | bbb20089a3275a19e475dbc21320c3742e3ca423 (patch) | |
tree | 216fdc1cbef450ca688135c5b8969169482d9a48 /net/appletalk/dev.c | |
parent | 3e48e656903e9fd8bc805c6a2c4264d7808d315b (diff) | |
parent | 657a77fa7284d8ae28dfa48f1dc5d919bf5b2843 (diff) |
Merge branch 'dmaengine' into async-tx-next
Conflicts:
crypto/async_tx/async_xor.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/pci.c
drivers/md/raid5.c
Diffstat (limited to 'net/appletalk/dev.c')
-rw-r--r-- | net/appletalk/dev.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/appletalk/dev.c b/net/appletalk/dev.c index 72277d70c980..6c8016f61866 100644 --- a/net/appletalk/dev.c +++ b/net/appletalk/dev.c | |||
@@ -9,21 +9,10 @@ | |||
9 | #include <linux/if_arp.h> | 9 | #include <linux/if_arp.h> |
10 | #include <linux/if_ltalk.h> | 10 | #include <linux/if_ltalk.h> |
11 | 11 | ||
12 | #ifdef CONFIG_COMPAT_NET_DEV_OPS | ||
13 | static int ltalk_change_mtu(struct net_device *dev, int mtu) | ||
14 | { | ||
15 | return -EINVAL; | ||
16 | } | ||
17 | #endif | ||
18 | |||
19 | static void ltalk_setup(struct net_device *dev) | 12 | static void ltalk_setup(struct net_device *dev) |
20 | { | 13 | { |
21 | /* Fill in the fields of the device structure with localtalk-generic values. */ | 14 | /* Fill in the fields of the device structure with localtalk-generic values. */ |
22 | 15 | ||
23 | #ifdef CONFIG_COMPAT_NET_DEV_OPS | ||
24 | dev->change_mtu = ltalk_change_mtu; | ||
25 | #endif | ||
26 | |||
27 | dev->type = ARPHRD_LOCALTLK; | 16 | dev->type = ARPHRD_LOCALTLK; |
28 | dev->hard_header_len = LTALK_HLEN; | 17 | dev->hard_header_len = LTALK_HLEN; |
29 | dev->mtu = LTALK_MTU; | 18 | dev->mtu = LTALK_MTU; |