diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-16 14:04:51 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-16 14:04:51 +0000 |
commit | 1fb17c025077de2ad030699e53f422a3191302ee (patch) | |
tree | fe1fb7073658afeac9a250cbe80ba19a0c899abe /sys | |
parent | 289e94230fae38af1d7d268eacdd2431f2d18094 (diff) |
remove a dead store
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/include/linux/atomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/include/linux/atomic.h b/sys/dev/pci/drm/include/linux/atomic.h index bb43b294c4c..1dce7bb185c 100644 --- a/sys/dev/pci/drm/include/linux/atomic.h +++ b/sys/dev/pci/drm/include/linux/atomic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atomic.h,v 1.6 2020/06/08 04:48:14 jsg Exp $ */ +/* $OpenBSD: atomic.h,v 1.7 2020/06/16 14:04:50 jsg Exp $ */ /** * \file drm_atomic.h * Atomic operations used in the DRM which may or may not be provided by the OS. @@ -87,7 +87,7 @@ atomic_xchg(volatile int *v, int n) static inline int atomic_add_unless(volatile int *v, int n, int u) { - int o = *v; + int o; do { o = *v; |