git: f0b0fdf15efe - main - sysvsem: Trim traiing whitespace

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Sat, 14 May 2022 11:07:53 UTC
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=f0b0fdf15efee38ee6989ec2b1668f065704c7df

commit f0b0fdf15efee38ee6989ec2b1668f065704c7df
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-05-14 11:06:40 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-05-14 11:06:40 +0000

    sysvsem: Trim traiing whitespace
    
    MFC after:      2 weeks
---
 sys/kern/sysv_sem.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c
index d489821e983b..638681fc6dcd 100644
--- a/sys/kern/sysv_sem.c
+++ b/sys/kern/sysv_sem.c
@@ -669,7 +669,7 @@ sys___semctl(struct thread *td, struct __semctl_args *uap)
 		break;
 	case SETVAL:
 		semun.val = arg.val;
-		break;		
+		break;
 	}
 
 	error = kern_semctl(td, uap->semid, uap->semnum, uap->cmd, &semun,
@@ -851,7 +851,7 @@ kern_semctl(struct thread *td, int semid, int semnum, int cmd,
 		 * won't work for SETALL since we can't copyin() more
 		 * data than the user specified as we may return a
 		 * spurious EFAULT.
-		 * 
+		 *
 		 * Note that the number of semaphores in a set is
 		 * fixed for the life of that set.  The only way that
 		 * the 'count' could change while are blocked in
@@ -864,7 +864,7 @@ kern_semctl(struct thread *td, int semid, int semnum, int cmd,
 		 *
 		 */
 		count = semakptr->u.sem_nsems;
-		mtx_unlock(sema_mtxp);		    
+		mtx_unlock(sema_mtxp);
 		array = malloc(sizeof(*array) * count, M_TEMP, M_WAITOK);
 		mtx_lock(sema_mtxp);
 		if ((error = semvalid(semid, rpr, semakptr)) != 0)
@@ -917,7 +917,7 @@ kern_semctl(struct thread *td, int semid, int semnum, int cmd,
 		 * and why we require a userland buffer.
 		 */
 		count = semakptr->u.sem_nsems;
-		mtx_unlock(sema_mtxp);		    
+		mtx_unlock(sema_mtxp);
 		array = malloc(sizeof(*array) * count, M_TEMP, M_WAITOK);
 		error = copyin(arg->array, array, count * sizeof(*array));
 		mtx_lock(sema_mtxp);
@@ -1838,7 +1838,7 @@ freebsd7___semctl(struct thread *td, struct freebsd7___semctl_args *uap)
 		break;
 	case SETVAL:
 		semun.val = arg.val;
-		break;		
+		break;
 	}
 
 	error = kern_semctl(td, uap->semid, uap->semnum, uap->cmd, &semun,
@@ -1909,7 +1909,7 @@ freebsd7_freebsd32___semctl(struct thread *td,
 	case SETALL:
 		error = copyin(uap->arg, &arg, sizeof(arg));
 		if (error)
-			return (error);		
+			return (error);
 		break;
 	}
 
@@ -1981,7 +1981,7 @@ freebsd32___semctl(struct thread *td, struct freebsd32___semctl_args *uap)
 	case SETALL:
 		error = copyin(uap->arg, &arg, sizeof(arg));
 		if (error)
-			return (error);		
+			return (error);
 		break;
 	}
 
@@ -2007,7 +2007,7 @@ freebsd32___semctl(struct thread *td, struct freebsd32___semctl_args *uap)
 		break;
 	case SETVAL:
 		semun.val = arg.val;
-		break;		
+		break;
 	}
 
 	error = kern_semctl(td, uap->semid, uap->semnum, uap->cmd, &semun,