Date: Sat, 25 Mar 2017 14:28:20 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r315955 - stable/11/sys/compat/linux Message-ID: <201703251428.v2PESKG4025038@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Sat Mar 25 14:28:20 2017 New Revision: 315955 URL: https://svnweb.freebsd.org/changeset/base/315955 Log: MFC r315499: Remove superflous break statment. Modified: stable/11/sys/compat/linux/linux_socket.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/compat/linux/linux_socket.c ============================================================================== --- stable/11/sys/compat/linux/linux_socket.c Sat Mar 25 14:26:45 2017 (r315954) +++ stable/11/sys/compat/linux/linux_socket.c Sat Mar 25 14:28:20 2017 (r315955) @@ -1547,7 +1547,6 @@ linux_setsockopt(struct thread *td, stru return (kern_setsockopt(td, args->s, bsd_args.level, name, &tv, UIO_SYSSPACE, sizeof(tv))); /* NOTREACHED */ - break; default: break; } @@ -1619,7 +1618,6 @@ linux_getsockopt(struct thread *td, stru return (copyout(&linux_tv, PTRIN(args->optval), sizeof(linux_tv))); /* NOTREACHED */ - break; case LOCAL_PEERCRED: if (args->optlen < sizeof(lxu)) return (EINVAL); @@ -1636,7 +1634,6 @@ linux_getsockopt(struct thread *td, stru lxu.gid = xu.cr_gid; return (copyout(&lxu, PTRIN(args->optval), sizeof(lxu))); /* NOTREACHED */ - break; case SO_ERROR: len = sizeof(newval); error = kern_getsockopt(td, args->s, bsd_args.level,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703251428.v2PESKG4025038>