diff options
Diffstat (limited to 'arch/um/drivers/slip_user.c')
-rw-r--r-- | arch/um/drivers/slip_user.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/um/drivers/slip_user.c b/arch/um/drivers/slip_user.c index d78f324e7298..5f06204d6871 100644 --- a/arch/um/drivers/slip_user.c +++ b/arch/um/drivers/slip_user.c | |||
@@ -230,11 +230,6 @@ int slip_user_write(int fd, void *buf, int len, struct slip_data *pri) | |||
230 | return slip_proto_write(fd, buf, len, &pri->slip); | 230 | return slip_proto_write(fd, buf, len, &pri->slip); |
231 | } | 231 | } |
232 | 232 | ||
233 | static int slip_set_mtu(int mtu, void *data) | ||
234 | { | ||
235 | return mtu; | ||
236 | } | ||
237 | |||
238 | static void slip_add_addr(unsigned char *addr, unsigned char *netmask, | 233 | static void slip_add_addr(unsigned char *addr, unsigned char *netmask, |
239 | void *data) | 234 | void *data) |
240 | { | 235 | { |
@@ -260,8 +255,8 @@ const struct net_user_info slip_user_info = { | |||
260 | .open = slip_open, | 255 | .open = slip_open, |
261 | .close = slip_close, | 256 | .close = slip_close, |
262 | .remove = NULL, | 257 | .remove = NULL, |
263 | .set_mtu = slip_set_mtu, | ||
264 | .add_address = slip_add_addr, | 258 | .add_address = slip_add_addr, |
265 | .delete_address = slip_del_addr, | 259 | .delete_address = slip_del_addr, |
266 | .max_packet = BUF_SIZE | 260 | .mtu = BUF_SIZE, |
261 | .max_packet = BUF_SIZE, | ||
267 | }; | 262 | }; |