PCI: pcie, aer: remove spinlock in aerdrv_errprint.c
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Mon, 7 Sep 2009 08:11:29 +0000 (17:11 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 9 Sep 2009 20:48:19 +0000 (13:48 -0700)
commit24dbb7beb2a207f423006c46830dfaacca5a1139
tree2a2b7b85c11eb784c691c0857c59e8a6053004ae
parent0d465f23502e0810443c90a9cf1cf5686c4af4f2
PCI: pcie, aer: remove spinlock in aerdrv_errprint.c

The static buffer errmsg_buff[] is used only for building error
message in fixed format, and is protected by a spinlock.

This patch removes this buffer and the spinlock.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv_errprint.c