Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fce1bc9 authored by Ming Lei's avatar Ming Lei Committed by Jesse Barnes
Browse files

PCI: remove unnecessary volatile in PCIe hotplug struct controller



Proper memory barriers have been added to order accesses
to ->cmd_busy, so volatile declaration for cmd_busy can
be removed.

Signed-off-by: default avatarMing Lei <tom.leiming@gmail.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 809d9a8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ struct controller {
	u32 slot_cap;
	u8 cap_base;
	struct timer_list poll_timer;
	volatile int cmd_busy;
	int cmd_busy;
	unsigned int no_cmd_complete:1;
};