Message ID | 20190726120542.9894-6-armbru@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Tame a few "touch this, recompile the world" headers | expand |
On 26/07/2019 14.05, Markus Armbruster wrote: > When commit 5f7d05ecfda added QLIST_INSERT_HEAD_RCU() to qemu/queue.h, > it had to include qemu/atomic.h. Commit 341774fe6cc removed > QLIST_INSERT_HEAD_RCU() again, but neglected to remove the #include. > Do that now. > > Signed-off-by: Markus Armbruster <armbru@redhat.com> > --- > include/qemu/queue.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/qemu/queue.h b/include/qemu/queue.h > index 0379bd8fdb..73bf4a984d 100644 > --- a/include/qemu/queue.h > +++ b/include/qemu/queue.h > @@ -78,8 +78,6 @@ > * For details on the use of these macros, see the queue(3) manual page. > */ > > -#include "qemu/atomic.h" /* for smp_wmb() */ > - > /* > * List definitions. > */ > Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/include/qemu/queue.h b/include/qemu/queue.h index 0379bd8fdb..73bf4a984d 100644 --- a/include/qemu/queue.h +++ b/include/qemu/queue.h @@ -78,8 +78,6 @@ * For details on the use of these macros, see the queue(3) manual page. */ -#include "qemu/atomic.h" /* for smp_wmb() */ - /* * List definitions. */
When commit 5f7d05ecfda added QLIST_INSERT_HEAD_RCU() to qemu/queue.h, it had to include qemu/atomic.h. Commit 341774fe6cc removed QLIST_INSERT_HEAD_RCU() again, but neglected to remove the #include. Do that now. Signed-off-by: Markus Armbruster <armbru@redhat.com> --- include/qemu/queue.h | 2 -- 1 file changed, 2 deletions(-)