-#ifdef CONFIG_COMPAT
-static int econet_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
-{
- /*
- * All ioctls provided by econet are standard. There is one gotcha, sockaddr_ec
- * differs between 32bit and 64bit. Fortunately nobody in kernel uses portion
- * of sockaddr which differs between 32bit and 64bit, so we do not need special
- * handling.
- */
- return -ENOIOCTLCMD;
-}
-#endif
-
-static struct net_proto_family econet_family_ops = {