Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux A void function should n...



details:   https://anonhg.NetBSD.org/src/rev/edc9d7f983da
branches:  trunk
changeset: 803234:edc9d7f983da
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sat Oct 18 11:39:54 2014 +0000

description:
A void function should not return a value from another void function.

diffstat:

 sys/external/bsd/drm2/include/linux/io-mapping.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 87d31eae6b9b -r edc9d7f983da sys/external/bsd/drm2/include/linux/io-mapping.h
--- a/sys/external/bsd/drm2/include/linux/io-mapping.h  Sat Oct 18 11:23:17 2014 +0000
+++ b/sys/external/bsd/drm2/include/linux/io-mapping.h  Sat Oct 18 11:39:54 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: io-mapping.h,v 1.3 2014/08/28 13:45:59 riastradh Exp $ */
+/*     $NetBSD: io-mapping.h,v 1.4 2014/10/18 11:39:54 njoly Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -146,7 +146,7 @@
 io_mapping_unmap_atomic(struct io_mapping *mapping, void *ptr)
 {
 
-       return io_mapping_unmap(mapping, ptr);
+       io_mapping_unmap(mapping, ptr);
 }
 
 #endif  /* _LINUX_IO_MAPPING_H_ */



Home | Main Index | Thread Index | Old Index