Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2017 18:19:31 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315499 - head/sys/compat/linux
Message-ID:  <201703181819.v2IIJVM1066679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Sat Mar 18 18:19:31 2017
New Revision: 315499
URL: https://svnweb.freebsd.org/changeset/base/315499

Log:
  Remove superflous break statment.
  
  MFC after:	1 week

Modified:
  head/sys/compat/linux/linux_socket.c

Modified: head/sys/compat/linux/linux_socket.c
==============================================================================
--- head/sys/compat/linux/linux_socket.c	Sat Mar 18 18:14:17 2017	(r315498)
+++ head/sys/compat/linux/linux_socket.c	Sat Mar 18 18:19:31 2017	(r315499)
@@ -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?201703181819.v2IIJVM1066679>