staging: unisys: remove ERRDEV macros
authorBenjamin Romer <benjamin.romer@unisys.com>
Wed, 4 Mar 2015 17:14:25 +0000 (12:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 00:50:10 +0000 (16:50 -0800)
commit0aca78449b58603586df83cca1e9eaba1acc1cfd
tree897be9bdc448c9358b2c7e78883409b3d7bf56c6
parent61620a1b187f645a13e77763b367e52ac129f411
staging: unisys: remove ERRDEV macros

Remove the LOGERR, LOGERRDEV, LOGERRDEVX, LOGERRNAME, LOGORDUMPERR
macros from all the drivers.

In one case the removal of the ERRDRV() changed things such that a macro which
returned a value was needed, but the return value was no longer being used. In
this case the macro was replaced with the contents of the macro, but with the
truth calculation removed so that it would not generate a warning.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 files changed:
drivers/staging/unisys/include/timskmod.h
drivers/staging/unisys/include/uisutils.h
drivers/staging/unisys/include/uniklog.h
drivers/staging/unisys/uislib/uislib.c
drivers/staging/unisys/uislib/uisqueue.c
drivers/staging/unisys/uislib/uisutils.c
drivers/staging/unisys/virthba/virthba.c
drivers/staging/unisys/virtpci/virtpci.c
drivers/staging/unisys/visorchannel/visorchannel_funcs.c
drivers/staging/unisys/visorchipset/file.c
drivers/staging/unisys/visorchipset/parser.c
drivers/staging/unisys/visorchipset/visorchipset_main.c
drivers/staging/unisys/visorutil/charqueue.c
drivers/staging/unisys/visorutil/easyproc.c
drivers/staging/unisys/visorutil/memregion_direct.c
drivers/staging/unisys/visorutil/periodic_work.c
drivers/staging/unisys/visorutil/procobjecttree.c