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/dist/drm/nouveau/include/nvkm/core don...



details:   https://anonhg.NetBSD.org/src/rev/cf01acb3f39b
branches:  trunk
changeset: 366499:cf01acb3f39b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Aug 29 19:31:35 2018 +0000

description:
don't "return void_returning_function()" in a different void returning function.

diffstat:

 sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 98993dabd2ce -r cf01acb3f39b sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h
--- a/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h Wed Aug 29 19:30:46 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h Wed Aug 29 19:31:35 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: device.h,v 1.6 2018/08/27 14:47:53 riastradh Exp $     */
+/*     $NetBSD: device.h,v 1.7 2018/08/29 19:31:35 mrg Exp $   */
 
 #ifndef __NVKM_DEVICE_H__
 #define __NVKM_DEVICE_H__
@@ -248,17 +248,17 @@
 static inline void
 nvkm_wr08(struct nvkm_device *d, bus_size_t a, uint8_t v)
 {
-       return bus_space_write_1(d->mmiot, d->mmioh, a, v);
+       bus_space_write_1(d->mmiot, d->mmioh, a, v);
 }
 static inline void
 nvkm_wr16(struct nvkm_device *d, bus_size_t a, uint16_t v)
 {
-       return bus_space_write_stream_2(d->mmiot, d->mmioh, a, v);
+       bus_space_write_stream_2(d->mmiot, d->mmioh, a, v);
 }
 static inline void
 nvkm_wr32(struct nvkm_device *d, bus_size_t a, uint32_t v)
 {
-       return bus_space_write_stream_4(d->mmiot, d->mmioh, a, v);
+       bus_space_write_stream_4(d->mmiot, d->mmioh, a, v);
 }
 #else
 #define nvkm_rd08(d,a) ioread8((d)->pri + (a))



Home | Main Index | Thread Index | Old Index